AnsweredAssumed Answered

how to get the part by seleced face

Question asked by 文泉 邹 on Nov 18, 2015
Latest reply on Nov 19, 2015 by Ivana Kolin

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=??

Outcomes