Not what you're asking, but some operation types (e.g. lathe roughing) have a "local return" option to control this (do something based on distance travelled or time).
Otherwise you'll be doing a lot of tcl.
Time is not too bad (mom_event_time, mom_cutting_time, mom_machine_time) can all be used.
Length is another matter - for each move type you'll have to calculate how long that move was, and add to total length. I don't know of any mom variables that track the distance a tool has cut (although there could be some)
In any case, it will be "interesting" how to figure out how to *safely* retract & re-engage the tool
Retract is primarily an issue if undercutting is possible (T/barrel/lollipop cutters, also some turning tools, e.g. an ID groove)
Re-engage will be even more tricky.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
In NX, you can divide many milling operations by time or distance.
You can specify a clearance plane, and UDEs to be output at the start and end of each segment. You can also drag each operation to a different tool.
You can break up a program in the post, but this can be risky because you'r flying blind.
The attached custom command should give you some ideas.
Thanks Ken_A and MarkRief,
Please see image below for more detail.
This is result I want to like this.
In NX CAM, I need to add some command to NC code (no worry about safety because the model is simple.) to tool move up.
The image below which NX CAM created.
The location move up best is measure in distance tool move
Setup in operation or Post Builder is OK
Please give some ideas.