ConstraintDefinition#

class ansys.sam.sysml2.meta_model.constraint_definition.ConstraintDefinition(id: str)#

Bases: ansys.sam.sysml2.meta_model.predicate.Predicate, ansys.sam.sysml2.meta_model.occurrence_definition.OccurrenceDefinition

Java class ‘com.ansys.medini.metamodel.sysml.ConstraintDefinition’.

Overview#

constraint_expression

Get the constraint expression property.

set_constraint_expression

Get the set constraint expression property.

Import detail#

from ansys.sam.sysml2.meta_model.constraint_definition import ConstraintDefinition

Property detail#

property ConstraintDefinition.constraint_expression: None#

Get the constraint expression property.

Returns:
None

Value of property constraint expression.

property ConstraintDefinition.set_constraint_expression: bool#

Get the set constraint expression property.

Returns:
bool

Value of property set constraint expression.