FeatureValue#

class ansys.sam.sysml2.meta_model.feature_value.FeatureValue(element_id: str)#

Bases: ansys.sam.sysml2.meta_model.owning_membership.OwningMembership

Java class ‘com.ansys.metamodel.sysml2.FeatureValue’.

Overview#

feature_with_value

Get the feature with value property.

value

Get the value property.

is_default

Get the is default property.

is_initial

Get the is initial property.

Import detail#

from ansys.sam.sysml2.meta_model.feature_value import FeatureValue

Property detail#

property FeatureValue.feature_with_value: Feature#

Get the feature with value property.

Returns:
“Feature”

Value of property feature with value.

property FeatureValue.value: Expression#

Get the value property.

Returns:
“Expression”

Value of property value.

property FeatureValue.is_default: bool#

Get the is default property.

Returns:
bool

Value of property is default.

property FeatureValue.is_initial: bool#

Get the is initial property.

Returns:
bool

Value of property is initial.