I select a face in solidworks,and get it by SelectionManager,how can i get the part which the face belong to??
Dim swSelmgr As SelectionMgr
dim aee as object
dim part as partdoc
swSelmgr = iSwApp.ActiveDoc.SelectionManager
aee = swSelmgr.GetSelectedObject6(1, -1)
part=??
SolidworksApi macros