OccurrenceUsage#

class ansys.sam.sysml2.meta_model.occurrence_usage.OccurrenceUsage(element_id: str)#

Bases: ansys.sam.sysml2.meta_model.usage.Usage

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

Overview#

portioning_feature

Get the portioning feature property.

occurrence_definition

Get the occurrence definition property.

individual_definition

Get the individual definition property.

is_individual

Get the is individual property.

portion_kind

Get the portion kind property.

set_is_individual

Get the set is individual property.

Import detail#

from ansys.sam.sysml2.meta_model.occurrence_usage import OccurrenceUsage

Property detail#

property OccurrenceUsage.portioning_feature: PortioningFeature#

Get the portioning feature property.

Returns:
“PortioningFeature”

Value of property portioning feature.

property OccurrenceUsage.occurrence_definition: list[Class]#

Get the occurrence definition property.

Returns:
list[“Class”]

Value of property occurrence definition.

property OccurrenceUsage.individual_definition: OccurrenceDefinition#

Get the individual definition property.

Returns:
“OccurrenceDefinition”

Value of property individual definition.

property OccurrenceUsage.is_individual: bool#

Get the is individual property.

Returns:
bool

Value of property is individual.

property OccurrenceUsage.portion_kind: PortionKind#

Get the portion kind property.

Returns:
“PortionKind”

Value of property portion kind.

property OccurrenceUsage.set_is_individual: bool#

Get the set is individual property.

Returns:
bool

Value of property set is individual.