DisplayApp#
- class ansys.scade.pyalmgw.llrs.DisplayApp(project: scade.model.project.stdproject.Project)#
Top-level class for SCADE Display models.
A SCADE Display model does not have a “root” class, that is required for defining an export schema.
This class gives access to the specifications and reference objects contained in a project.
It also caches in the loaded instances the properties as new attributes, prefixed by
llr_, exceptnamefor specifications and reference objects. These extra attributes are accessed withsetattrandgetattrfunctions: more verbosity against linter errors.
Overview#
Add the attributes llr_owner, llr_file and llr_qualified_name to the model elements. |
Import detail#
from ansys.scade.pyalmgw.llrs import DisplayApp
Attribute detail#
- DisplayApp.files = []#
- DisplayApp.llr_file = None#
- DisplayApp.llr_owner = None#
- DisplayApp.llr_qualified_name = ''#
- DisplayApp.name#
Method detail#
- DisplayApp.cache_properties(file, owner, item, link='')#
Add the attributes llr_owner, llr_file and llr_qualified_name to the model elements.