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.

idstr

ID of the pragma.

Returns:
suite.Pragma

ID of the pragma or None if not found.