Hi All ,
Thus i am having an assembly which i need to select face using face name which i already given
the big housing is one Sub assembly and the small Driver Sub is one Sub assembly
i need to select the one face of the component in one sub assembly and another one face in another sub assembly using face name.
Kindly Guide How to select the face in the assemblies i tried a lot but its not working
Solidworks version 2012
using tool vb.net
Thanks in Advance
You need to traverse all components 2012 SOLIDWORKS API Help - Traverse Assembly at Component Level Example (VBA)
that get the component's model (IComponent2::GetModelDoc2). Than query the entity by name 2014 SOLIDWORKS API Help - GetEntityByName Method (IPartDoc), convert the pointer to assembly level: 2016 SOLIDWORKS API Help - Get Corresponding Objects in Assembly Component Example (VB.NET) and finally select via IEntity::Select4.
Retrieving data ...