Sintax: ug_edit_part_names ASS.prt -o ASS.prt -change_name OLD_COD.prt NEW_COD.prt
With this tool, that works with NX closed, keep old name in the constraints.
I suggest to you to use :
in the same manner with ug_edit_part_name this tool :
ug_clone.exe -operation=edit -load_log_file="C:\Drawing
Files\edit.clone.txt"
edit.clone.txt
Assembly Cloning Log File
&LOG Operation_Type: EDIT_IN_PLACE_OPERATION
&LOG Default_Cloning_Action: RETAIN
&LOG Default_Naming_Technique: USER_NAME
&LOG Default_Container: ""
&LOG Default_Directory: ""
&LOG Default_Part_Type: ""
&LOG Default_Part_Name: ""
&LOG Default_Part_Description: ""
&LOG
&LOG Part: "C:\Drawing Files\assembly1.prt"
&LOG Cloning_Action: DEFAULT_DISP
&LOG Part: "C:\Drawing Files\model1.prt" Cloning_Action: REPLACE Replacement_Part: "C:\Drawing Files\model3.prt"
Thank you...
Using NX 8 and PDM RuleDesigner