Author: Adam Nagy
-
The new Fusion 360 UI is here!
A new Fusion 360 toolbar UI is becoming official soon, including changes to the existing API. To ensure that your add-ins are still compatible, we highly encourage you to update your add-in using the new API: https://docs.google.com/document/d/174ISmaXs-60JRtn8bt4Sbr6Z3jqzkyoSizVD9YwChOQ/edit?usp=sharing For convenience I’m also pasting here the content: Tabbed Toolbar API UserInterface class changes http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-52303e26-c1c2-4a1c-8c1a-a3c199e6db63 app = adsk.core.Application.get()…
-
Mirror Sketch Geometry
In the Sketch environment there is a Mirror command in the Pattern palette: Unfortunately, its functionality is not directly exposed in the API. However, we can check what it does and try to replicate it. When I mirror sketch geometry, I can see that the Mirror command basically copies all the sketch points and lines,…
-
Import AnyCAD documents associatively
There are two main ways to import a non-Inventor document: use “Reference Model” or “Convert Model” In case of the “Convert Model“, for each component of the original document an Inventor model (assembly or part) will be created. It’s the same for “Reference Model“, but instead of storing those files separately on the hard drive…
-
Design Automation for Inventor webinar
If you are developing add-in's for Inventor, this webcast could be a nice way to learn about how to migrate all or parts of your add-in's functionality to the cloud by using Forge Design Automation for Inventor. Further details on the webcast here. -Adam
-
Cannot convert argument 1 from ‘const wchar_t [16]’ to ‘LPTSTR’
You might run into this error when you … 1) Create a C++ standalone project in VS2017 (15.5 and later versions)2) Turn the C/C++ -> Language -> Conformance mode option to Yes: 3) Include InventorUtils.h The exact error will be: Severity Code Description File Error C2664 'LPOLESTR T2OLE(LPTSTR)': cannot convert argument 1 from 'const wchar_t…
-
Automate creation of Named Geometry
Named Geometry is an iLogic feature that lets you tag geometry in the UI:(See section “Use Assign Name to Identify Geometry for Constraints” here) iLogic has an Automation interface that lets you automate iLogic specific features from your iLogic Rule or add-in/app. Using that we can also manipulate Named Geometry entries – e.g. add a…
-
Accessing iProperties
I was told that it could be useful to provide a list of all the property names used for iProperties – for reference, I assume. Actually, you can get this list with a simple VBA code 😀 Sub GetPropertySets() Dim doc As Document Set doc = ThisApplication.ActiveDocument Dim ps As PropertySet For Each ps In…
-
Existing add-ins and scripts now work with the UI Preview
As I wrote about it before there is a new UI coming in Fusion 360 that might need the attention of add-in developers. However, in the latest release, the majority of the existing add-ins will be supported by accepting code placing command buttons at the old locations and putting them to the new ones automatically:…
-
Getting Offline Access to the Fusion 360 API Help
Our online help system or your internet is down, or you're travelling where there is no mobile/cellular reception? That's not a good enough reason anymore not to double-check something in the Fusion 360 API documentation! 😀 Have a look at Brian's article about the offline help file you can download:https://ekinssolutions.com/getting-offline-access-to-the-fusion-360-api-help/ As Masoun Mardini mentions it…
-
Prepare your add-in for UI Preview
There is a UI Preview available in Fusion 360 providing a tabbed experience. If you enable it then depending on which UI section your add-in is currently trying to add its buttons to, it might fail since some items were replaced with new ones. UI Preview E.g. instead of having a single toolbar panel for Sketch…

You must be logged in to post a comment.