ansys.scade.apitools.create.data_def.create_when_branch#
- ansys.scade.apitools.create.data_def.create_when_branch(pattern: ansys.scade.apitools.create.expression.EX, position: Tuple[float, float] = (0, 0), size: Tuple[float, float] = (0, 0), display: DK = DK.GRAPHICAL, label_width: int = 0) WhenBranch #
Create an intermediate structure for a when branch.
The graphical properties are expressed 1/100th of mm.
They are considered if and only if the owning when block has a graphical representation.
Parameters#
- patternEX
Value of the branch.
- positionTuple[float, float], default: (0, 0)
Position of the action.
- sizeTuple[float, float], default: (0, 0)
Size of the action.
- displayDK, default: GRAPHICAL
Layout of the action.
- label_widthint
Optional width of the label containing the pattern.
Returns#
WhenBranch