NX 7.5 Post Processor Op Skip off for set lines
NX 7.5 Post Processor Op Skip off for set lines
(OP)
Hi,
Just wondering if there is a way to turn op skip off for a set of lines in the post processor to ensure that the particular output never has op skip leader? I tried putting this at start of custom command
set mom_sys_opskip_block_leader " "
and resetting to "/" at end but this didn't change anything.
I have included a global mom_sys_opskip_block_leader at start too.
Anyone know how to do this???
Does this function need to be upleveled? This command is executed from the Initial Move section of Operation Start Sequence
Thanks in Advance
Just wondering if there is a way to turn op skip off for a set of lines in the post processor to ensure that the particular output never has op skip leader? I tried putting this at start of custom command
set mom_sys_opskip_block_leader " "
and resetting to "/" at end but this didn't change anything.
I have included a global mom_sys_opskip_block_leader at start too.
Anyone know how to do this???
Does this function need to be upleveled? This command is executed from the Initial Move section of Operation Start Sequence
Thanks in Advance
Cheers
Steve Griffiths ![]()
If you want to make apple pie from scratch, first you must create the universe!





RE: NX 7.5 Post Processor Op Skip off for set lines
I can now set the line leader by using
MOM_set_line_leader always " " at start of command and
MOM_set_line_leader always $mom_sys_opskip_block_leader at the end.
However this will always turn on opskip after my command even if not already on.
How do I check the current status of the line leader???
Thanks in Advance
Cheers
Steve Griffiths
If you want to make apple pie from scratch, first you must create the universe!
RE: NX 7.5 Post Processor Op Skip off for set lines
if {$mom_opskip_status == TRUE} {
set mom_opskip_status FALSE
do your output code here
set mom_opskip_status TRUE
}
RE: NX 7.5 Post Processor Op Skip off for set lines
Will try that variable and see if it works.
I am having trouble finding the variable name as the opskip is turned on by a function in ugbase.tcl MOM_set_line_leader always $mom_sys_opskip_block_leader but there doesn't appear to be any variable holding it's status - have tried the review tool and can't find anything that changes when opskip is turned on or off.
Thanks again - will let you know what happens on Monday.
Cheers
Steve Griffiths
If you want to make apple pie from scratch, first you must create the universe!
RE: NX 7.5 Post Processor Op Skip off for set lines
if {$steves_opskip_status == "ON"} {
MOM_set_line_leader always ""
do your output code here
MOM_set_line_leader always $mom_sys_opskip_block_leader
}
RE: NX 7.5 Post Processor Op Skip off for set lines
Ended up just adding my own variable into ugpost_base.tcl - will just need to be careful with updates / patches.
Got it working as you suggested - check if status is on and turn off leader if required at start of command, then turn it back on at the end of the command.
Was hoping not to have to edit ugpost_base.tcl but seems to be the only way to solve the problem.
Thanks again
Cheers
Steve Griffiths
If you want to make apple pie from scratch, first you must create the universe!