Hello all,
I am working on a macro to fix some geometry on imported files, I am inserting a Delete Face feature, and then want to access the surfaces that are left over. I'm able to loop through bodies and get selection id's, then select the items, but I can't seem to figure out how to cast the selected bodies to ISurface objects. Is there some object class that I should be using instead? It looks like GetSelectedObjectType returns swSelSURFACEBODIES.
SolidworksApi macros