No problem Lvee.
I don't beleive that MOM_abort_event would satisfy your requirement.
As I understand it MOM_abort_event can be used to abort processing of a procedure (same as the 'return' command) or of an event (like linear move, rapid move etc). This will not abort post processing as far...
You can use the MOM_abort command to bring up an error dialog in NX and cancel post processing:
if { $set_error == "99" } {
MOM_abort "\n\n*** check tool diameter ERROR Code $set_error ***\n\n"
}
the \n gives a blank space between the NX error output and your message and makes it clearer for...
The following should do what you want?:
# retrieve expression value of expression part number
# retrieve expression value of expression part_revision
# retrieve expression value of expression smi_revision
set expression1 [MOM_ask_ess_exp_value part_number]
set expression2...