StateUsage#

class ansys.sam.sysml2.meta_model.state_usage.StateUsage(element_id: str)#

Bases: ansys.sam.sysml2.meta_model.action_usage.ActionUsage

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

Overview#

do_action

Get the do action property.

entry_action

Get the entry action property.

exit_action

Get the exit action property.

state_definition

Get the state definition property.

is_parallel

Get the is parallel property.

set_is_parallel

Get the set is parallel property.

substate_usage

Get the substate usage property.

Import detail#

from ansys.sam.sysml2.meta_model.state_usage import StateUsage

Property detail#

property StateUsage.do_action: ansys.sam.sysml2.meta_model.action_usage.ActionUsage#

Get the do action property.

Returns:
“ActionUsage”

Value of property do action.

property StateUsage.entry_action: ansys.sam.sysml2.meta_model.action_usage.ActionUsage#

Get the entry action property.

Returns:
“ActionUsage”

Value of property entry action.

property StateUsage.exit_action: ansys.sam.sysml2.meta_model.action_usage.ActionUsage#

Get the exit action property.

Returns:
“ActionUsage”

Value of property exit action.

property StateUsage.state_definition: list[Behavior]#

Get the state definition property.

Returns:
list[“Behavior”]

Value of property state definition.

property StateUsage.is_parallel: bool#

Get the is parallel property.

Returns:
bool

Value of property is parallel.

property StateUsage.set_is_parallel: bool#

Get the set is parallel property.

Returns:
bool

Value of property set is parallel.

property StateUsage.substate_usage: bool#

Get the substate usage property.

Returns:
bool

Value of property substate usage.