Inventor Customization

Reply
Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 1 of 3 (287 Views)
Accepted Solution

Inventor API help

287 Views, 2 Replies
02-27-2013 01:20 PM

is it posible to write a plug in that runs when a user does someting.

example. you start inventor and open a assembly file the user selects a part and the plugin automatically runs.

no pussing buttons, no quick key, it just runs.

Valued Mentor
Gruff
Posts: 431
Registered: ‎11-24-2003
Message 2 of 3 (272 Views)

Re: Inventor API help

02-27-2013 04:14 PM in reply to: wowens63

There is probably a way to do that.  You might have to write your own part import tool as the standard import tool does not fire any events that I know of....  I would have to look into it.

 

Searching...

 

Okay,  Looks like there is an event called. OnNewOccurance.

It fires whenever an assembly occurrance is added.

 

That said.

 

I have been writing software interfaces for over 20 years.  I can tell you that doing what you ask in not a good idea.

It does not give your end user the option to escape the process.  Incidentally another area you want to avoid is any kind of automatic file saving or deletion.  Inevitibly it shoots you in the foot.  Some decisions are best left up to the user.

 

Valued Contributor
wowens63
Posts: 98
Registered: ‎06-22-2007
Message 3 of 3 (254 Views)

Re: Inventor API help

02-28-2013 05:07 AM in reply to: Gruff

Thank you for your reply and your insight. I know with autocad lisp I have wrote reactors for autocad but was not sure about Inventor and was not sure if that was even a good idea to try. so again thank you.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.