Cancel
Showing results for 
Search instead for 
Did you mean: 

PC revert of deleted procedure

Solution Partner Visionary Solution Partner Visionary
Solution Partner Visionary

Hi

Can I somehow revert a procedure in Post Configurator which is removed by using "LIB_GE_command_buffer_edit_remove" command?

 

 

3 REPLIES 3

Re: PC revert of deleted procedure

Siemens Phenom Siemens Phenom
Siemens Phenom

Not entirely sure what you are asking here. Did you remove the procedure previously using a buffer command and want to put it back in later?

Highlighted

Re: PC revert of deleted procedure

Solution Partner Visionary Solution Partner Visionary
Solution Partner Visionary

Yes, I mean if I have already removed a function by means of the command "LIB_GE_command_buffer_edit_remove", then can I revert somehow that function? This might be useful in some complex logic.

Re: PC revert of deleted procedure

Siemens Phenom Siemens Phenom
Siemens Phenom

Rather than trying to remove a function and then put it back, I would use the LIB_GE_command_buffer_edit_prepend command along with some embedded logic to perhaps enable/disable addresses or call a procedure.

 

For example:

 

LIB_GE_command_buffer_edit_prepend LIB_CTRL_nc_header PROG_NUMBER {

if {some logic here} {
    # body...

    MOM_enable_address whatever

    MOM_disable_address whatnot
} else {
    # else...

    procedure call here
}

}

_MYSTART

PC revert of deleted procedure

Solution Partner Visionary Solution Partner Visionary
Solution Partner Visionary

Hi

Can I somehow revert a procedure in Post Configurator which is removed by using "LIB_GE_command_buffer_edit_remove" command?

 

 

NX CAM Postprocessor Group
NX CAM Postprocessor Group

Members (239)