1 Autodesk Confidential Information November 2010 What’s New in the Inventor 2012 API?

Slides:



Advertisements
Similar presentations
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Advertisements

Learning the Basics – Lesson 1
Getting Started with Fusion 360’s API
XP New Perspectives on Creating Web Pages With Excel Tutorial 1 1 Creating Web Pages With Excel Tutorial 1.
Autodesk Inventor 11 Essentials Plus Instructor’s Name.
Autodesk Inventor 2010 Essentials Plus Mr Dalton.
PowerPoint. Getting Started with PowerPoint Objectives Start PowerPoint and open presentations Explore toolbars and menus Use the Office Assistant Work.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 3 1 Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional- Looking.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
© Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software Top Questions of I-deas users Learning NX Mark Lawry.
Inventor Tools 2009 Graham Harrison Micro Concepts Ltd.
Chapter 2 Sketching, Constraining & Dimensioning.
Creating Solid Models Parametric Modeling Concept
Copyright - Planchard 2012 SolidWorks Basic Concepts Stephen H. Simmons TDR 200.
Lesley Bross, August 25, 2010 ArcGIS 10 Add-In Components and Controls.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Microsoft Office 2007 Word Integration Feature Linking an Excel Worksheet and Chart to a Word Document.
Create Professional-looking Content Easy to Use Interface Share Documents.
Editing With ArcGIS Pro
Lattice Technology New Product Feature Highlights June 2011 Product Release.
IE 411/511: Visual Programming for Industrial Applications
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Introduction to MS WORD.
The Fundamentals of Using Windows 95. Windows 95 ã operating system that performs every function necessary for the user to communicate and control computer.
Designing Interface Components. Components Navigation components - the user uses these components to give instructions. Input – Components that are used.
Integrated Development Environment (IDE)
Chapter 6 Creating and Documenting Assemblies. After completing this chapter, you will be able to perform the following: – Understand the assembly options.
S511 Session 7, IU-SLIS 1 DB Implementation: MS Access Forms.
Chapter 3 Creating and Editing Sketched Features
Key Applications Module Lesson 21 — Access Essentials
Chapter 5 Creating and Editing Drawing Views. After completing this chapter, you will be able to perform the following: –Understand drawing options –Create.
An Introduction to Office  Office XP and Office 2007 look very different  This introduction should: ◦ Introduce you to some of the basic changes.
Word 2007 What’s New. Ribbon Interface Replaces toolbars and menus Contains tabs and grouped commands Each tab corresponds to task Related items grouped.
Chapter 3 Creating and Editing Sketched Features.
Chapter 9 Design Automation Techniques. After completing this chapter, you will be able to – Create iMates – Create and place iParts – Create iAssemblies.
DB Implementation: MS Access Forms. MS Access Forms  Purpose Data entry, editing, & viewing data in tables Forms are user-friendlier to end-users than.
Chapter 5 Creating and Editing Drawing Views. After completing this chapter, you will be able to perform the following: –Understand drawing options –Create.
Autodesk Inventor 10 Essentials Plus Instructor’s Name.
Chapter 9 Advanced Assembly Modeling Techniques. After completing this chapter, you will be able to perform the following: –Create design view representations.
Engineering Graphics with SolidWorks Instructors Name Course Name.
Chapter 6 Creating and Documenting Assemblies. After completing this chapter, you will be able to perform the following: – Understand the assembly options.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Chapter 3 Creating and Editing Sketched Features
Chapter 9 Advanced Assembly Modeling Techniques. After completing this chapter, you will be able to perform the following: –Create sketch blocks –Create.
Creating and Editing a Web Page
Chapter 2 Sketching, Constraining & Dimensioning.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Autodesk Inventor 2011 Essentials Plus Instructor’s Name.
 Open  Open an existing Autodesk Inventor file  New  Template for a new part, assembly, presentation file, sheet metal part, or drawing.
Chapter 6 Creating and Documenting Assemblies. After completing this chapter, you will be able to perform the following: – Understand the assembly options.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Train Body The next series of slides will guide you through the construction of the train body. Start a new drawing and save it as Train Body.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Chapter 9 Advanced Assembly Modeling Techniques. After completing this chapter, you will be able to perform the following: –Create design view representations.
XP Creating Web Pages with Microsoft Office
Choosing the Right Tool for the Job Up in the Cloud
Chapter 6 Creating and Documenting Assemblies
Inventor 2013 What’s New in the API.
1. Introduction to Visual Basic
Microsoft Office Ribbon
Windows xp PART 1 DR.WAFAA SHRIEF.
In this chapter, you will learn the following:
Chapter 3 Creating and Editing Sketched Features
Chapter 3 Creating and Editing Sketched Features
Microsoft Office Ribbon
Mark Thompson Doug Stainbrook Solid Edge Technical Marketing
Presentation transcript:

1 Autodesk Confidential Information November 2010 What’s New in the Inventor 2012 API?

2 Autodesk Confidential Information November 2010 What’s New in Inventor 2012? 48 new objects (with 619 new functions) 41 removed functions 303 new functions on existing objects 5 modified functions Inventor new objects (with 1925 new functions) 121 Removed functions 900 new functions on existing objects 44 modified functions. Inventor new objects (with 537 new functions) 21 removed functions 635 new functions on existing objects 53 modified functions

3 Autodesk Confidential Information November 2010 Inventor API Survey Results  Areas to focus development  Other: Vault, event enhancements, Cable & Harness, Add-In loading Drawings4762% User Interaction3951% Other, Please Specify2432% Assemblies2128% User Interface2128% Part Features1824% Client Graphics1114% 2D Sketches912% B-Rep query and creation912% 3D Sketches68%

4 Autodesk Confidential Information November 2010 Part Enhancements

5 Autodesk Confidential Information November 2010 Extrude Feature Re-Design  Now uses the “Definition” concept.  Provides full support for all functionality.  Old API still supported for backward compatibility. ' Create an extrude definition. Dim extrudeDef As ExtrudeDefinition Set extrudeDef = extrudes.CreateExtrudeDefinition(rectProfile, kNewBodyOperation) ' Modify the extent and taper angles. Call extrudeDef.SetDistanceExtent(8, kNegativeExtentDirection) Call extrudeDef.SetDistanceExtentTwo(20) extrudeDef.TaperAngle = "-2 deg“ extrudeDef.TaperAngleTwo = "-10 deg" ' Create the extrusion. Dim extrude As ExtrudeFeature Set extrude = extrudes.Add(extrudeDef)

6 Autodesk Confidential Information November 2010 Other Part Enhancements  Additional options of derived part supported.  Support for creation of silhouette curves in 3D sketch.  Support for creation and edit of rib features.  Can get anchor points of dimension constraints and feature dimensions  PartFeature.ExtendedName

7 Autodesk Confidential Information November 2010 Assembly Enhancements  Full support for drive constraint.  Can fully define the settings.  Can drive the animation.  Can create an animation file.  Interference calculation now returns the body(s) of interference.

8 Autodesk Confidential Information November 2010 Drawing Enhancements  Full support for revision tables.  DrawingView.InsertInModelSpace  DrawingView.ViewOrientationFromBase  DimensionStyle.OrdinateDimensionOriginArrowheadType  OrdinateDimensionSet.OriginArrowheadType

9 Autodesk Confidential Information November 2010 New User-Interface  Marking Menu  Mini toolbar  Contextual mini toolbar  Balloon Tips

10 Autodesk Confidential Information November 2010 Marking Menus  Marking menu  Radial marking menu  Linear marking menu  Replaces Context Menu  Radial marking menu is customizable by the user.  You need to update any existing programs that use the OnContextMenu event.

11 Autodesk Confidential Information November 2010 Radial Marking Menu  Environment.GetRadialMarkingMenu returns the default marking menu for a specified object type.  Can edit to modify the default contents.  Object types for Inventor defaults  2D sketch, 3D sketch, Edge, Face and Surface, Placed features, Sketched features, Standard Component, Work Feature  You can also create a default definition for any object type.  Limited to a set of 8 commands but you can have sub-menus.  Can listen to UserInputEvents.OnRadialMarkingMenu event to dynamically modify the contents.

12 Autodesk Confidential Information November 2010 Linear Marking Menu  Can listen to UserInputEvents.OnLinearMarkingMenu event to dynamically modify the contents.  Replaces OnContextMenu event, which is now obsolete.  Looks and works very much like the previous context menu.  If option “Use Classic Context Menu” is set then only linear marking menus will be shown.

13 Autodesk Confidential Information November 2010 Mini Toolbar  Ability to create floating, transparent replacements to dialog interfaces.  Supports:  Apply, OK, Cancel buttons  New lines and separators  Button  Check box  Combo box  Drop-down  Value editor  Supported within a command (InteractionEvents) and at Application level (CommandManager).

14 Autodesk Confidential Information November 2010 Contextual Mini Toolbar  Displayed when the user selects an object.  Quick access to commands commonly used for selected entity.  Respond to UserInputEvents.OnContextualMiniToolbar to edit the contents of the mini toolbar.  Each button shown consists of a command and optionally a single entity to highlight.

15 Autodesk Confidential Information November 2010 Balloon Tips  Display message in communication center balloon.  Can use as timed message by specifying the time between pop ups.  Can have links within the message.

16 Autodesk Confidential Information November 2010 Non-Transacting Client Graphics  Support for non-transacting client graphics.  No undo support.  Significantly faster than transacting client graphics.  Sample creates 1000 unique triangles with accompanying coordinates, normals, etc.  Transacting: sec.  Non-transacting: sec.  Over 100 times faster.

17 Autodesk Confidential Information November 2010 Registry-Free Add-Ins  Registering of add-ins is no longer needed and is not recommended.  Add-in needs to support registry-free COM.  The add-in wizard will create a registry free add-in.  Documentation is provided to show how to convert existing add- ins (VB, C#, and C++) to be registry-free. .addin file defines the various settings that used to be defined in registry.  Add-in dll can be placed anywhere .addin file needs to be placed in a certain directory and specifes where the add-in dll is located.

18 Autodesk Confidential Information November 2010.addin File Locations Version Independent Windows XP: C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor Addins\ Windows7/Vista: C:\ProgramData\Autodesk\Inventor Addins\ Version Dependent Windows XP: C:\Documents and Settings\All Users\Application Data\Autodesk\Inventor 2012\Addins\ Windows7/Vista: C:\ProgramData\Autodesk\Inventor 2012\Addins\ Per User Override Windows XP: C:\Documents and Settings\ \Application Data\Autodesk\Inventor 2012\Addins\ Windows7/Vista: C:\Users\ \AppData\Roaming\Autodesk\Inventor 2012\Addins\

19 Autodesk Confidential Information November 2010 New Add-In Loading Mechanism  Problem: Add-In loading is a significant part of Inventor start-up time.  Solution: Add-in loading is delayed until it is needed.  Default behavior is to load add-ins on Inventor startup.  Recommended behavior is to delay load so the user doesn’t pay performance/memory penalty until the add-in functionality is used.  This requires add-ins to use the new registry-free add-in loading mechanism.  Certain add-ins (such as PDM applications) may still need to load on startup.

20 Autodesk Confidential Information November 2010 Add-In Load Behavior  Immediately  Loads on start up (not recommended)  Parts Assemblies Presentations Drawings  Loads when first document of that type is opened.  Specified in the.addin file.

21 Autodesk Confidential Information November 2010 BIM Exchange API API provides access to the same functionality as through the user-interface.

22 Autodesk Confidential Information November 2010 New Transient Camera  Previously, the only way to get a camera is from a View.  Create images without a view. Useful in Apprentice. Private Function GetImage(ByVal Filename As String) As Image ' Create an instance of Apprentice. Dim apprentice As New Inventor.ApprenticeServerComponent ' Open the specified file. Dim appDoc As Inventor.ApprenticeServerDocument = apprentice.Open(Filename) ' Create a camera. Dim cam As Inventor.Camera = apprentice.TransientObjects. CreateCamera ' Associate the camera with the part's component definition. cam. SceneObject = appDoc.ComponentDefinition ' Set the camera to the desired orientation and position. cam.ViewOrientationType = Inventor.ViewOrientationTypeEnum.kIsoTopRightViewOrientation cam.Fit() cam.ApplyWithoutTransition() ' Create an image. Can also use SaveAsBitmap to save the image directly to a file in one of several formats. Dim picDisp As stdole.IPictureDisp picDisp = cam. CreateImage (1000, 1000) ' Return the image. Return Microsoft.VisualBasic.Compatibility.VB6.IPictureDispToImage(picDisp) End Function

23 Autodesk Confidential Information November 2010 Dockable Window Enhancements  Control the caption of the window.  Specify whether the title bar should be shown or not.  Event notification for:  OnHelp to display your own help.  OnShow when a dockable window is displayed.  OnHide when a dockable window is closed.

24 Autodesk Confidential Information November 2010 Transient Geometry Enhancements  Plane.IntersectWithSurface  TransientGeometry.CurveCurveIntersection  TransientGeometry.CurveSurfaceIntersection  TransientGeometry.SurfaceSurfaceIntersection

25 Autodesk Confidential Information November 2010 Miscellaneous  View.RayTracing  DisplayOptions.UseRayTracingForRealisticDisplay  DisplaySettings.UseRayTracingForRealisticDisplay  GroundPlaneSettings.FrontDirection  GroundPlaneSettings.UpDirection  RepresentationEvents.OnActivateDesignView  RepresentationEvents.OnNewDesignView  MassProperties.RotationToPrincipal

26 Autodesk Confidential Information November 2010 Questions & Answers