TopologyAPI#

Interface TopologyAPI

The TopologyAPI provides multiple functionalities to operate on the Topology level of a Part.

Hierarchy

Methods

  • Adds one or multiple Topology elements to the current selection.

    Parameters

    • handle: TopologyHandle | TopologyHandle[]

      A Topology Element or the list of Topology Elements which should be added to the current selection.

    Returns Promise<void>

  • Clears the current Topology Selection.

    Returns Promise<void>

  • Returns a list of all selected topology elements.

    Returns TopologyHandle[]

    A List of all selected Topology elements.

  • Checks if the specified Topology Element is part of the current selection.

    Parameters

    • handle: TopologyHandle

      The topology element which should be checked if it selected.

    Returns boolean

    A boolean value which indicates if the specified Topology Element is part of the current selection or not.

  • Maps the given webvis internal topology handles to original topology handles.

    Parameters

    • handles: TopologyHandle[]

      A list of webvis internal topology handles.

    Returns Promise<OriginalTopologyHandle[]>

    Promise<Array<OriginalTopologyHandle|undefined>> - A list of the corresponding original topology handles.

  • Maps the given original topology handles to webvis internal topology handles.

    Parameters

    • nodeID: number

      The Node which specifies the Part the topology relates to.

    • handles: OriginalTopologyHandle[]

      A list of original topology handles.

    Returns Promise<TopologyHandle[]>

    Promise<Array<TopologyHandle|undefined>> - A list of the corresponding webvis internal topology handles.

  • Removes one or multiple Topology elements to the current selection.

    Parameters

    • handle: TopologyHandle | TopologyHandle[]

      A Topology Element or a list of Topology Elements which should be removed from the current selection.

    Returns Promise<void>


Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: