Autodesk Inventor Customization
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
Unfortunately not, at this point in time we only have VB.NET, however we are looking to potentially expand on the languages we offer so if we have a C# one in the future, I will definitely let you know.
Thanks,
Wayne Brill
Autodesk Developer Network
Wayne Brill
Developer Technical Services
Autodesk Developer Network
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Ok, thanks
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Let me take a question. I think that the self-paced code assumes there is only one instance of Inventor running. But, in running the code, if there are more than one instance of Inventor opened, the program will take the first opened instance and will ignore all the others instances. How could I change this behavior? For example, a way to choose the open Inventor instance that I want to connect.
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi there,
I´m having a little bit of trouble with the guide. The plugin runs and does what it should, but in the output window it throws a couple of exceptions at me. I´m on a german OS, so "Ausnahme" means exception and the rest should be self explanatory, if not just ask.
Here is the error code:
Eine Ausnahme (erste Chance) des Typs "System.Runtime.InteropServices.COMException" ist in mscorlib.dll aufgetreten.
Volumenkörper1:1
Eine Ausnahme (erste Chance) des Typs "System.NullReferenceException" ist in MyFirstInventorPlugin_Lesson1.exe aufgetreten.
Eine Ausnahme (erste Chance) des Typs "System.Runtime.InteropServices.COMException" ist in mscorlib.dll aufgetreten.
Eine Ausnahme (erste Chance) des Typs "System.Runtime.InteropServices.COMException" ist in mscorlib.dll aufgetreten.
While this doens´t stop the plugin from running, it will create an error when I select a non component like a workplane or else.
I can still run the plugin but it seems to have trouble with that COM object. Any ideas what´s causing this.
I have the feeling it will eventually give me more problems on the road ahead.
Best regards
Falk
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
is the problem solved? I checked the source project 'lesson1_VisualExpress2010'. There is only 81 lines totally. But in your error dialog, it looks the failure occured at line 114. Did you add some of your own codes? If yes, could you share a copy for us to diagnose?
Xiaodong Liang
Developer Technical Services
Autodesk Developer Network
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi There,
If yo have some time, can you please check the following link..
http://forums.autodesk.com/t5/Autodesk-Inventor-Cu
Thanks.
Inventor Applications Engineer
--------------------------------------------------------------------------------------
If my solution seems to remedy your problem, please press the Accept Solution button, Some KUDOS -
-------------------------------------------------------------------------------------
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
I am a experinced software developer (.net) and new to the Autodesk. My forhthcoming assignment is to create a tool in .net using Visual Studio 2010 that will automate all the steps of inventor by Inventor API.
My orgnization is used to draw the Flange and base plate of electrical pole in the Inventor. And i want to automate this whole process. Suppose a drafter have to create 10 flange design in the Inventor then he will save all the input in the .csv file and my tool will read the inputs from the file and will create all the 10 design and save at any location.
First of all i want to know, is it possibe to automate each steps of the Inventor? If yes then please let me know form where i can access information about the all APIs.
Thanks in Advance
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
From your description I would say that the Inventor API will allow you to automate this process.
Lesson 7 has links to resources for learning the Inventor API.
http://usa.autodesk.com/adsk/servlet/index?siteID=
Also the API is documented in the API help file. On my system it is here:
"C:\Program Files\Autodesk\Inventor 2013\Local Help\admapi_17_0.chm"
I would also check to see if using iLogic would meet your requirement. iLogic is documented in the Inventor help file:
Also Inventor Engineer-To-Order is a configurator which may also be of interest. http://usa.autodesk.com/adsk/servlet/index?siteID=
Cheers,
Wayne Brill
Developer Technical Services
Autodesk Developer Network
Re: Check out the self-paced guide “My First Plug-in”
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content


