2 Replies Latest reply on Dec 13, 2017 3:58 PM by Christian Chu

    Remove Appearance on Bodies

    John Howell

      I have a function in an AddIn that traverses Parts within an Assembly, and does some stuff : ). All is well.

       

      One of the aspects of 'stuff' is to set the Parts color (appearance). This works fine - unless the BODY in the part file already has a color. In this case, the Part color IS set, but it doesn't show because the BODY color trumps.

       

      From an API perspective, how does one remove the MaterialPropertyValues associated with a Body? I can get the Bodies, I can iterate them, I can set them to other colors/transparency/etc... but how does one REMOVE the appearance all together so that the Part Appearance shows?