Confused about how to modify the proceedure MOM_initial_move.
Created a PB_CMD_initial_move Custom Command with changes, but it did not work.
Then tried "hacking" the tcl file directly without using Post Builder which worked but when I made other changes to the post with Post Builder the previous hack reverted back to the OOTB version??
Can someone explain how Post Builder knows how to change my hack??
Sorry if this has already been discussed, I could not find any post abiout this.
Thank you for your time.
You need to add your custom command to the initial move event, see image below.
The procedure is not called if it is not assigned to an event.
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0
Employees of the customers, together we are strong
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
Why? What are you trying to acomplish?
If you want to edit one of the system procs you need to capture it in a proc, bind to Start of Program and uplevel it. Then you can add anything you want to it.
Note on Mike's response:
Some procedures are re-defined in every operation to the "post builder created" version.
So you have to re-define YOUR version in the "start of path" event
So if you "uplevel" but still don't get what you want, put a couple "MOM_output_text" (or whatever) in your proc, and the Siemens supplied one (edit the tcl file directly) to see which is being used.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled