Skip to content

BaseElementAdapterChildElementsService

Canonical path: NemAll_Python_IFW_ElementAdapter.BaseElementAdapterChildElementsService

Implementation of the service functions for the child elements determination of a base element adapter

Methods:

GetChildElements staticmethod

GetChildElements(
    ele: BaseElementAdapter, hiddenElements: bool
) -> BaseElementAdapterVector

Get the child elements of the element (includes the childs which have the same model element)

Parameters:

  • ele (BaseElementAdapter) –

    Element

  • hiddenElements (bool) –

    Include hidden elements: true/false

Returns:

GetChildModelElements overloaded

GetChildModelElements(ele: BaseElementAdapter) -> BaseElementAdapterList

Get the child model elements of the element

Parameters:

Returns:

GetChildModelElements(
    ele: BaseElementAdapter, hiddenElements: bool
) -> BaseElementAdapterList

Get the child model elements of the element

Parameters:

  • ele (BaseElementAdapter) –

    Element

  • hiddenElements (bool) –

    Include hidden elements: true/false

Returns:

GetChildModelElementsFromTree staticmethod

GetChildModelElementsFromTree(
    ele: BaseElementAdapter,
) -> BaseElementAdapterList

Get the child model elements from the complete child tree of the element

Parameters:

Returns:

GetChildPropertyElements staticmethod

GetChildPropertyElements(
    ele: BaseElementAdapter, modifyState: object, propGroup: object
) -> BaseElementAdapterVector

Get the child property elements

Parameters:

  • ele (BaseElementAdapter) –

    Element

  • modifyState (object) –

    Modify state

  • propGroup (object) –

    Property group

Returns:

GetTierElements staticmethod

Get the tier elements from an element

Parameters:

Returns:

GetTierNumber staticmethod

GetTierNumber(ele: BaseElementAdapter) -> int

Get the tier number from an element

Parameters:

Returns:

  • int

    Tier number