Package: Advisor.authoring
Superclasses:
Create a Model Advisor constraint to check for unsupported block parameter values
Instances of Advisor.authoring.NegativeBlockParameterConstraint
class define unsupported values for specified block parameters.
constraint = Advisor.authoring.NegativeBlockParameterConstraint()
creates an instance of this class.
For a Constant block, these commands specify that one or four values are unsupported for the Value parameter:
c1=Advisor.authoring.NegativeBlockParameterConstraint; c1.ID='ID_1'; c1.BlockType='Constant'; c1.ParameterName='Value'; c1.UnsupportedParameterValues={'1','4'}; c1.ValueOperator='or';
CompositeConstraint
| NegativeBlockTypeConstraint
| NegativeModelParameterConstraint
| NegativeModelParameterConstraint
| PositiveBlockParameterConstraint
| PositiveBlockTypeConstraint
| PositiveModelParameterConstraint