Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 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
Feb 7, 2003
37
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
 
Replies continue below

Recommended for you

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

Part and Inventory Search

Sponsor