Main Content

Create Model Advisor Checks

Define custom checks and provide a fix action

Custom checks provide you with the ability to specify which conditions and configuration settings the Model Advisor reviews and at which stage during model development the Model Advisor reviews them. You can create custom checks that automatically run while you edit the model and interactively run in the Model Advisor. For the workflows, see Define Custom Model Advisor Checks.

Classes

expand all

ModelAdvisor.CheckCreate custom Model Advisor checks
ModelAdvisor.ActionAdd actions to custom checks
ModelAdvisor.InputParameterAdd input parameters to custom checks
ModelAdvisor.RootIdentify root node
ModelAdvisor.FormatTemplateTemplate for formatting Model Advisor analysis results
ModelAdvisor.ImageInclude image in Model Advisor output
ModelAdvisor.LineBreakInsert line break
ModelAdvisor.ListCreate list class
ModelAdvisor.ParagraphCreate and format paragraph
ModelAdvisor.TableCreate table for Model Advisor results
ModelAdvisor.TextCreate Model Advisor text output
ModelAdvisor.ResultDetailDefine check result details
ModelAdvisor.EdittimeCheckAbstract base class for creating edit-time checks
Advisor.authoring.CustomCheckDefine custom configuration parameter check
Advisor.authoring.DataFileInteract with data file for model configuration checks
Advisor.authoring.PositiveBlockParameterConstraintCreate a Model Advisor constraint to check for supported block parameter values
Advisor.authoring.NegativeBlockParameterConstraintCreate a Model Advisor constraint to check for unsupported block parameter values
Advisor.authoring.PositiveModelParameterConstraintCreate a Model Advisor constraint to check for supported model parameter values
Advisor.authoring.NegativeModelParameterConstraintCreate a Model Advisor constraint to check for unsupported model parameter values
Advisor.authoring.PositiveBlockTypeConstraintCreate a Model Advisor constraint to check for supported block types
Advisor.authoring.NegativeBlockTypeConstraintCreate a Model Advisor constraint to check for unsupported blocks
Advisor.authoring.CompositeConstraintCreate a Model Advisor constraint that checks for multiple constraints

Functions

expand all

Advisor.authoring.generateConfigurationParameterDataFileGenerate XML data file for custom configuration parameter check
Advisor.authoring.createBlockConstraintCheckCreate Model Advisor check with block constraints

Topics

Create Custom Model Advisor Checks

Create Custom Edit-Time Checks

Create Custom Block and Configuration Parameter Checks