NX CAM - Tcl example in NX Post Builder #1 - "Output Part file name (Full name if you needed)"

Аватар автора
Техника для компьютеров
This video will show How to Output Part file name in your postprocessor with TCL. The tcl code is as follows ----------------------------------------------------------------------------------------------------------------- output_part_file_name.tcl # This custom command can be used to output part file name global mom_part_name set pos1 [string last \ $mom_part_name] set pos2 [string last t $mom_part_name] set pos3 [string range $mom_part_name [expr $pos1+1] [expr $pos2 + 3]] MOM_output_literal "(File Name: $pos3)"

0/0


0/0

0/0

0/0