ConstraintUsage#
- class ansys.sam.sysml2.meta_model.constraint_usage.ConstraintUsage(element_id: str)#
Bases:
ansys.sam.sysml2.meta_model.boolean_expression.BooleanExpression,ansys.sam.sysml2.meta_model.occurrence_usage.OccurrenceUsageJava class ‘com.ansys.medini.metamodel.sysml.ConstraintUsage’.
Overview#
Get the kind property. |
|
Get the set kind property. |
|
Get the constraint definition property. |
|
Get the constraint expression property. |
|
Get the set constraint expression property. |
Import detail#
from ansys.sam.sysml2.meta_model.constraint_usage import ConstraintUsage
Property detail#
- property ConstraintUsage.kind: RequirementConstraintKind#
Get the kind property.
- Returns:
- “RequirementConstraintKind”
Value of property kind.
- property ConstraintUsage.set_kind: bool#
Get the set kind property.
- Returns:
- bool
Value of property set kind.
- property ConstraintUsage.constraint_definition: Predicate#
Get the constraint definition property.
- Returns:
- “Predicate”
Value of property constraint definition.
- property ConstraintUsage.constraint_expression: Expression#
Get the constraint expression property.
- Returns:
- “Expression”
Value of property constraint expression.