NX
Outputting Notes that were Added to an Operation
2021-10-06T23:27:28Z
NX for Manufacturing
Summary
Details
Text explaining an operation was added to the Notes utility in an NX Operation. How can Post Builder be configured to output this data? This text is added by selecting the Tool, Prg & Machine Control -> Notes -> Notes icon as seen in the picture below.
The menu for this Notes utility can be seen below.
The Note column was added to the Operation Navigator as seen below. Hovering over the icon displays the content.
Solution
To output the text of this Note in Post Builder add a Custom Command with the following code to the Start of Path procedure.
### Custom Command to output Note array global mom_operation_notes global mom_sys_control_out global mom_sys_control_in
set co $mom_sys_control_out set ci $mom_sys_control_in
set i 0 if { [info exists mom_operation_notes] } { while {$i<[array size mom_operation_notes] } { MOM_output_literal "$co $mom_operation_notes($i) $ci" incr i } array unset mom_operation_notes } ### End
The Custom Command should look like the picture seen below.
This Custom Command will output the text of the Note something like the picture seen below.
Notes and References
Please be aware that any code provided by GTAC is intended to be used for sample purposes only. It is the user's responsibility to determine whether the code is suitable for the purpose.
Hardware/Software Configuration
Platform: all OS: n/a OS Version: n/a Product: NX Application: CAM Version: V1919 Function: POSTBUILDER