Category: Inventor
-
Sorting “invalid arguments” error in C# add in code for generating 3D PDF in Inventor
<?xml encoding=”UTF-8″>The VB.NET add-in for 3D PDF generation works well and directly without issues. However, the C# API code throws an invalid arguments error at the Publish() method. This is because the code uses late binding. This blog contains steps on how to resolve this error Step 1:As mentioned in this blog (here) set the…
-
Porting guide from Level of Details to Model states.
by Chandra shekar Gopal, Introduction to Model States Model States were introduced in Inventor 2022. While product documentation covers the basics well, our ADN team has offered extensive support for developers transitioning to this feature. With Inventor 2023 now released, it’s a good time to review code migration requirements and discuss some known issues. Official…
-
Using Entitlement API for Inventor 2023
By Sajith Subramanian As you may be already aware, If you have an app on the Autodesk App Store, then you might want to check if the user actually paid for and downloaded your app from the store, or just copied it from someone else’s computer. This is what the Entitlement API can help you…
-
Import Data Exchange model
There is a new feature called Data Exchange that also has an API now available in public beta – see Data Exchange Released! Forge Data Exchange APIs now available in Public Beta Through the user interface you can import such models in Inventor and you can also automate that process using the Inventor API. For…
-
Working with PropertySets and Model States
By Sajith Subramanian If you wish to change a Property’s value on a document having Model States, the workflow via API is the similar to the Inventor UI: Activate the required Model State using ModelState.Activate. Set the MemberEditScope to either kEditActiveMember or kEditAllMembers based on whether the updated value would be applied only to the…
-
Migrate Inventor templates
There is a difference between using a document as a template or just simply opening it. Especially in the case of drawing templates. Inventor can open older documents created in previous versions of the software and then save them. That’s what document migration is: opening an old document and saving it in the latest version of the software. You can find more information about it here. Inventor documents have a property called NeedsMigrating,…
-
3rd party libraries used by Inventor 2022
Here is a list of the various 3rd parties libraries and their versions that Inventor 2022 is using – i.e. they are used by the core product, and some of them are also used by certain add-ins. If you are using any of them from your add-in then the best is to make sure you…
-
Tooltip text gets cropped
If you are using very long strings without tabs or spaces in them (e.g. a long file path), those will get cropped.E.g. the file path "C:\top_folder\sub_folder\sub_sub_folder\sub_sub_sub_folder\sub_sub_sub_sub_folder\somefile.txt" will show up like this: Currently, that will also add an empty area on the right side of the tooltip, but that will be fixed. There are two things…
-
Retire Registry-based Add-ins in Inventor 2022
by Chandra shekar Gopal, Before Inventor 2010, add-ins are loaded into Inventor by running registry mechanism in a command prompt. It was complex procedure. So, the registry free add-in mechanism was introduced into Inventor 2010. Now in Inventor 2022, the registry based add-ins will not be listed in the Inventor Add-Ins Manager dialog as default.…
-
Join us for our DevDays Online webinars
Our yearly webinars about the new product API features (both cloud and desktop) are coming up at the beginning of March. You can find all the details here if you are interested in joining us: https://adndevblog.typepad.com/autocad/2021/01/join-us-for-our-devdays-online-webinars.html

You must be logged in to post a comment.