AnsweredAssumed Answered

Change color of body in VBA macro

Question asked by Victor B on Sep 15, 2013
Latest reply on Sep 15, 2013 by Artem Taturevych

Hi all

 

I want to change color of a body or a feature programmatically. I saw posts about faces

https://forum.solidworks.com/message/310467

and part,

http://help.solidworks.com/2012/English/api/sldworksapi/set_body_for_view_example_vbnet.htm

but I cannot derive from them how to do this for a body (for example, each Loft in different color). Could you direct me to the appropriate properties of the SldWorks.Body2 or something alse?

Thanks

Outcomes