ansys.scade.apitools.create.declaration.add_enumeration_values#
- ansys.scade.apitools.create.declaration.add_enumeration_values(type_: scade.model.suite.NamedType, values: List[str], insert_before: str | None)#
Add enumeration values to an enumeration type.
Parameters#
- type_suite.NamedType
Named type defining the enumeration.
- valuesList[str]
List of the enumeration values to add.
- insert_beforestr | None
Insertion point of the values. When this parameter is not
None
and exists, the values are inserted before this value. Otherwise, the values are added at the end.