User's Guide > Models > Registering Custom Checks
Registering Custom Checks
Methods and Properties Introduced:
The method IpfcBaseSession.RegisterCustomModelCheck registers a custom check that can be included in any ModelCHECK run. This method takes the instructions in the form of the IpfcCustomCheckInstructions object as its input argument. This object contains the following parameters:
CheckName—Specifies the name of the custom check.
CheckLabel—Specifies the label of the custom check.
Listener—Specifies the listener object containing the custom check methods. Refer to the section Custom Check Listeners for more information.
ActionButtonLabel—Specifies the label for the action button. If you specify NULL for this parameter, this button is not shown.
UpdateButtonLabel—Specifies the label for the update button. If you specify NULL for this parameter, this button is not shown.
The method CCpfcCustomCheckInstructions.Create creates the IpfcCustomCheckInstructions object containing the custom check instructions described above.
The following figure illustrates how the results of some custom checks might be displayed in the ModelCHECK report.
Was this helpful?