StateDefinition#

class ansys.sam.sysml2.meta_model.state_definition.StateDefinition(element_id: str)#

Bases: ansys.sam.sysml2.meta_model.action_definition.ActionDefinition

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

Overview#

do_action

Get the do action property.

entry_action

Get the entry action property.

exit_action

Get the exit action property.

state

Get the state property.

is_parallel

Get the is parallel property.

set_is_parallel

Get the set is parallel property.

Import detail#

from ansys.sam.sysml2.meta_model.state_definition import StateDefinition

Property detail#

property StateDefinition.do_action: ActionUsage#

Get the do action property.

Returns:
“ActionUsage”

Value of property do action.

property StateDefinition.entry_action: ActionUsage#

Get the entry action property.

Returns:
“ActionUsage”

Value of property entry action.

property StateDefinition.exit_action: ActionUsage#

Get the exit action property.

Returns:
“ActionUsage”

Value of property exit action.

property StateDefinition.state: list[StateUsage]#

Get the state property.

Returns:
list[“StateUsage”]

Value of property state.

property StateDefinition.is_parallel: bool#

Get the is parallel property.

Returns:
bool

Value of property is parallel.

property StateDefinition.set_is_parallel: bool#

Get the set is parallel property.

Returns:
bool

Value of property set is parallel.