ansys.scade.apitools.prop.pragma.find_pragma#
- ansys.scade.apitools.prop.pragma.find_pragma(object_: scade.model.suite.Object, id: str) scade.model.suite.Pragma #
Get the pragma ID of an object.
See the pragma example.
- Parameters:
- object_
suite.Object
Element to search for the pragma.
- id
str
ID of the pragma.
- object_
- Returns:
suite.Pragma
ID of the pragma or
None
if not found.