ansys.scade.apitools.prop.pragma.set_pragma_json#
- ansys.scade.apitools.prop.pragma.set_pragma_json(object_: scade.model.suite.Object, id: str, data: object) bool #
Serialize a Python object to a JSON document in a textual pragma.
An existing pragma with the same ID is updated with the text or deleted if the object is
None
or empty.See the pragma_json example.