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_, except name for specifications and reference objects. These extra attributes are accessed with setattr and getattr functions: more verbosity against linter errors.

Overview#

cache_properties

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.