×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

NX Open - Rename tools based on parent Machine Pocket

NX Open - Rename tools based on parent Machine Pocket

NX Open - Rename tools based on parent Machine Pocket

(OP)
Hi,

I need to rename a tool based on the name of the parent machine pocket it sits in. See the attached image for operation navigator layout...

This example is based on how the tools sit in the operations navigator.
I already have the code to cycle through all of the pocket objects however I need to find out what tool(s) are beneath that pot.

The end aim is to have the Journal loop through all pockets and rename all of its child tools.. e.g.  "0.5-END-MILL" would become "T01-0.5-END-MILL"   and   "5MM-HSS-DRILL" would become "T02-5MM-HSS-DRILL"

Many Thanks

Steve

RE: NX Open - Rename tools based on parent Machine Pocket

I think you want this:

Namespaces ► NXOpen.CAM ► NCGroup ► GetMembers()

 

Mark Rief
Product Manager
Siemens PLM

RE: NX Open - Rename tools based on parent Machine Pocket

(OP)
Thanks for your help! this worked perfectley...

Is it possible to have this journal trigger whenver a tool is moved from one pocket to another? Or doest it have to remain a user command button...

Thanks again

RE: NX Open - Rename tools based on parent Machine Pocket

No, there is no user exit there.
I would not recommend using the tool name to indicate the tool number, becasue you can not assure that it is up to date. Interactively, the user can see the tool number in a column in the Navigator. In both post and shop docs, the tool number is available as a variable to be output.
 

Mark Rief
Product Manager
Siemens PLM

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources