1 Reply Latest reply on Sep 15, 2013 8:00 PM by Artem Taturevych

    Change color of body in VBA macro

    Victor B

      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