AnsweredAssumed Answered

Get corresponding face from assembly

Question asked by Oleg Bezyaev on Dec 14, 2016
Latest reply on Dec 15, 2016 by Oleg Bezyaev

How to get corresponding face for component in assembly wich is belong to pattern and have another configuration?

Face2 temp = (Face2)partComponentAtAssembly.GetCorrespondingEntity(currentFace);

return null

Face2 temp = (Face2)assemblyDoc.Extension.GetCorrespondingEntity(currentFace);

return null

In attach SW 2016

 

Code return not null, if part save in same config what be inserted in assy. If part config in pattern set to another = null.

 

Upd: face object I get from traverce part on myBody.GetFaces() Not directly select by mouse.

Attachments

Outcomes