ansys.scade.apitools.create.data_def.create_if_action ===================================================== .. py:function:: ansys.scade.apitools.create.data_def.create_if_action(position: Tuple[float, float] = (0, 0), size: Tuple[float, float] = (0, 0), display: DK = DK.GRAPHICAL) -> IT Create a leaf action in the intermediate structure if it is a tree structure. The graphical properties are expressed 1/100th of mm. They are considered if and only if the owning if block has a graphical representation. Parameters ---------- position : Tuple[float, float], default: (0, 0) Position of the action. size : Tuple[float, float], default: (0, 0) Size of the action. display : DK, default: GRAPHICAL Layout of the action. Returns ------- IT