Inventor Customization

Inventor Customization

Reply
Valued Mentor
stephengibson76
Posts: 1,095
Registered: ‎08-01-2006
Message 1 of 5 (206 Views)

automatically change parts to unique layers in idw

206 Views, 4 Replies
11-26-2012 12:24 AM

I know you can do this manually but im sure someone wrote a macro to do it automatically....

 

i still have the change occurance layer based on material macro but cant seem to find the change layer based on part...  does anyone know where it is or is there a better way to do it?

 

yes we are still using autocad in conjunction with inventor, and on a side note have been quite enjoying the new parameters, dynamic blocks, easy scripts and customization features in autocad

Stephen Gibson



View stephen gibson's profile on LinkedIn


Valued Mentor
stephengibson76
Posts: 1,095
Registered: ‎08-01-2006
Message 2 of 5 (188 Views)

Re: automatically change parts to unique layers in idw

12-03-2012 01:47 AM in reply to: stephengibson76

any help with this would be aprettiated

Stephen Gibson



View stephen gibson's profile on LinkedIn


Mentor
krieg
Posts: 176
Registered: ‎11-22-2009
Message 3 of 5 (166 Views)

Re: automatically change parts to unique layers in idw

12-05-2012 12:56 AM in reply to: stephengibson76

Hello

 

Maybe this post could be helpful.

 

 

Valued Mentor
stephengibson76
Posts: 1,095
Registered: ‎08-01-2006
Message 4 of 5 (147 Views)

Re: automatically change parts to unique layers in idw

12-10-2012 03:13 AM in reply to: krieg

thanks, but thats the one I can find...  Im sure there was something similar to do it by part rather than colour

Stephen Gibson



View stephen gibson's profile on LinkedIn


ADN Support Specialist
xiaodong.liang
Posts: 1,271
Registered: ‎06-12-2011
Message 5 of 5 (121 Views)

Re: automatically change parts to unique layers in idw

01-06-2013 10:30 PM in reply to: stephengibson76

Hi, 

 

It looks to me the code in that post is the right direction you could follow. It creats the new layer with specific color and assign the drawing curves of one part to this layer. i.e. the curves of different parts are different color.  



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

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.