ConstraintUsage#

class ansys.sam.sysml2.meta_model.constraint_usage.ConstraintUsage(id: str)#

Bases: ansys.sam.sysml2.meta_model.boolean_expression.BooleanExpression, ansys.sam.sysml2.meta_model.occurrence_usage.OccurrenceUsage

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

Overview#

set_kind

Get the set kind property.

kind

Get the kind property.

constraint_definition

Get the constraint definition property.

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_usage import ConstraintUsage

Property detail#

property ConstraintUsage.set_kind: bool#

Get the set kind property.

Returns:
bool

Value of property set kind.

property ConstraintUsage.kind: None#

Get the kind property.

Returns:
None

Value of property kind.

property ConstraintUsage.constraint_definition: Predicate#

Get the constraint definition property.

Returns:
“Predicate”

Value of property constraint definition.

property ConstraintUsage.constraint_expression: None#

Get the constraint expression property.

Returns:
None

Value of property constraint expression.

property ConstraintUsage.set_constraint_expression: bool#

Get the set constraint expression property.

Returns:
bool

Value of property set constraint expression.