IfActionUsage#

class ansys.sam.sysml2.meta_model.if_action_usage.IfActionUsage(id: str)#

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

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

Overview#

if_argument

Get the if argument property.

then_action

Get the then action property.

else_action

Get the else action property.

Import detail#

from ansys.sam.sysml2.meta_model.if_action_usage import IfActionUsage

Property detail#

property IfActionUsage.if_argument: None#

Get the if argument property.

Returns:
None

Value of property if argument.

property IfActionUsage.then_action: ansys.sam.sysml2.meta_model.action_usage.ActionUsage#

Get the then action property.

Returns:
“ActionUsage”

Value of property then action.

property IfActionUsage.else_action: ansys.sam.sysml2.meta_model.action_usage.ActionUsage#

Get the else action property.

Returns:
“ActionUsage”

Value of property else action.