3 Replies Latest reply on Mar 1, 2016 10:39 AM by Joe Pickens

    API to identify whether or not a component has geometry

    Joe Pickens

      I am writing a macro and I am trying to figure out how to identify whether or not a component has any geometry in it regardless of it its an assembly or a part. aslo i mot sure if this matters but i dont count sketches/ point that dont have solid model to is as geometry and assemblies that have components in them with no geometry/ componets with geometry that are in a hidden state I consider as no geometry.

       

      in my macro i have SWComp assigned to the component in the assembly i want to get the info from. and SWComp is a  Component2