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
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
Namespaces ► NXOpen.CAM ► NCGroup ► GetMembers()
Mark Rief
Product Manager
Siemens PLM
RE: NX Open - Rename tools based on parent Machine Pocket
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
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