Is the reference valid

IF_@ REF_VALID Reference

...

END_IF_@

Reference = "Reference name"

@ = incremental number

 

Example:

IF_1 ELEM_NEW

CONFIG_ELEM

IF_11 REF_INVALID PROF_SIDE_FACE

SET_MDL_PARAM THIS WITH_PROF_SIDE_FACE 0

END_IF_11

IF_12 REF_VALID PROF_SIDE_FACE

SET_MDL_PARAM THIS WITH_PROF_SIDE_FACE 1

END_IF_12

REGEN_MDL THIS

END_IF_1