Good news if you want to get your application on the Autodesk Exchange store. Anyone can now submit a product to be published on the store. Stephen Preston has posted several articles explaining the full details:
We have had several cases recently where events such as OnFileSaveAsDialog were not working properly. Problems with events can occur if the property “Embeding Interop Types” of the referenced Inventor Interop is set to True. This setting is new in Visual Studio 2010 with .NET 4 and it defaults to True. If you change the setting to False and rebuild the events work normally.
Here is a screenshot of the properties window in VB.NET.
The Inventor 2013 API now fully supports Move Body Features. A move body feature allows you to manipulate the location and orientation of a body and is listed in the feature tree. There are different ways you can manipulate the body using methods of the new MoveDefinition object. You can rotate it, move it along a vector or do a free drag by specifying the xyz offset.
New 2013 Object & Methods:
Keep in mind that we only recommend using VBA for prototyping and learning the API but do not recommend using VBA in production.
To use this example have a part that has a multiple solid bodies. When you run the code select one of the bodies. This screenshot shows a solid body before running the code:
After the procedure is run a Move Body feature has been created. This feature changes the location of the body.
' Demonstrates using the API to create a ' Move Body feature. You must have a part ' open that contains at least one body. Public Sub MoveBody() ' Get the active part document. Dim partDoc As PartDocument Set partDoc = ThisApplication.ActiveDocument
Dim partDef As PartComponentDefinition Set partDef = partDoc.ComponentDefinition
' Have the user select a body. Dim body As SurfaceBody Set body = ThisApplication.CommandManager.Pick _ (kPartBodyFilter, "Select the body to move.")
If Not body Is Nothing Then ' Create a collection containing the body to move. Dim bodyCollection As ObjectCollection Set bodyCollection = ThisApplication. _ TransientObjects.CreateObjectCollection
' Create a move definition. Dim moveDef As MoveDefinition Set moveDef = partDef.Features.MoveFeatures _ .CreateMoveDefinition(bodyCollection)
Thanks to everyone who participated in the survey. Your input is very valuable to the engineering team. The three tables below have the results for the three main questions on the survey. The survey also has many individual suggestions that are not listed here.
It is apparent that continuing to enhance the API help should be a top priority. I sure agree with this. The 2013 API help file has some welcome improvements but more examples in multiple languages would be great.
Inventor API recommended enhancements:
Drawings - Creation and edit support for datum symbols
Drawings - Creation and edit support for weld symbols
Drawings - Creation and edit support for hatching
Drawings - Creation and edit support for slice views
Drawings - Creation and edit support for cropped views
Support for auto-balloon
Drawings - Full dimension style support
Part - Creation and edit support for the Grill feature
Part - Creation and edit support for the Boss feature
Part - Creation and edit support for the Rest feature
Part - Creation and edit support for the Snap Fit feature
Part - Creation and edit support for the Lip feature
Part - Creation and edit support for the Rule Fillet feature
Part - Ability to nest work features within a 3D sketch, as you can through the user interface
Verticals - API support for Cable & Harness
Verticals - API support for Tube & Pipe
Verticals - API support for Dynamic Simulation
Verticals - API support for FEA
Verticals - API support for Frame Generator
Improved API support for presentation documents
API support to re-use graphical widgets (such as in the Extrude and Move Face features in Inventor) in custom commands
API support for Pack & Go
VBA Record and Playback capability
API Help - Samples for every method and property
API Help - More samples in languages other than VBA (E.g. C++, C#, VB.NET)
API Help - Improved function descriptions
API Help - More/better overviews
Other, please specify
Preferred development tools used with the Inventor API:
Visual Basic 6
VB.NET – Visual Studio
VB.NET – Visual Basic Express
C# – Visual Studio
C# – Visual C# Express
Newest version of Inventor you have used for development: