AnsweredAssumed Answered

API to identify whether or not a component has geometry

Question asked by Joe Pickens on Feb 29, 2016
Latest reply on Mar 1, 2016 by 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

Outcomes