In some cases it is advantageous to add some additional user defined modifiers to the dialog. These may be used to control ancillary functions such as the tailstock, which may need to be moved during the operation. The %ADDUSERMODTOOPERATION PCI directive is used:
%ADDUSERMODTOOPERATION=[OperationID],_checkTailstock,
Use Tailstock,Misc^Machine
In this case the user modifier will prompt for ‘Use Tailstock’ on the ‘Misc.’
tab of the dialog and set up the PCI Variable _checkTailstock.
As the variable name is prefixed with ‘_check’ a check box will be displayed
and the value of ‘_checkTailstock’
will be set as 0 or 1 depending on if the box has been checked.
The prefix of the user modifier name controls the modifier type. In the above example, ‘_check’ is used to specify a check box type modifier.
Click here to see a full list of modifier types.