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_blocksuite.WhenBlock

Input block.

branchesList[WhenBranch]

List of intermediate structures describing the branches.

Returns:
List[suite.WhenBranch]