Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script: Get product from selected face

Status
Not open for further replies.

bjod

Mechanical
Joined
Feb 7, 2003
Messages
37
Location
NO
Hello Everybody.

I have a script where the user selects a Face ( on a part, in assembly workbench for constraining ) through SelectElement with filter for "Face".
But I also need to get the partname to which the selected face belongs. My current solution is to run a separate SelectElement to get this info first.

Is there a way to get to the partname directly from the selected face ?

Best Regards,
Bjod
 
Off the top my head I'd say try .Parent approach.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top