ansys.scade.apitools.create.data_def.add_when_block_branches#
- ansys.scade.apitools.create.data_def.add_when_block_branches(when_block: scade.model.suite.WhenBlock, branches: List[WhenBranch]) List[scade.model.suite.WhenBranch] #
Add new branches to a when block.
- Parameters:
- when_block
suite.WhenBlock
Input block.
- branches
List
[WhenBranch
] List of intermediate structures describing the branches.
- when_block
- Returns:
List
[suite.WhenBranch
]