Section#

class ansys.scade.pyalmgw.documents.Section(owner: Container, number: str = '', title: str = '', description: str = '')#

Bases: HierarchyElement

Implements the Section complex type.

Level of the a document hierarchy.

Persistence:

  • number maps to identifier. For example 1, 2.3.4

  • title maps to text. For example 1, 2.3.4

Overview#

depth

Return the maximum depth of a section.

level

Return the level of a section, defined as its number of owners.

number

Return the section number.

title

Return the section title.

Import detail#

from ansys.scade.pyalmgw.documents import Section

Property detail#

property Section.depth: int#

Return the maximum depth of a section.

property Section.level: int#

Return the level of a section, defined as its number of owners.

property Section.number: str#

Return the section number.

property Section.title: str#

Return the section title.

Attribute detail#

Section.xml_tag = 'Section'#