Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Methods that Modify Object

  • Last UpdatedSep 16, 2022
  • 1 minute read

This object is manipulating the graphical selection set itself. As elements are added or removed, they will be highlighted in the graphics view at the same time (if in graphics mode).

Name

Result

Purpose

.scope(DBREF)

BOOLEAN

Defines the scope of the selection, i.e. defines the top element that the selected elements must exist beneath. Default is WORLD.

.add(DBREF)

DBREF

Adds the highest significant parent of passed element to selection.

.addConnected(DBREF)

ARRAY

Simulates "Select connected" for piping components:

Adds the given component and the connected network relative to the component.

.addBranchLeg(DBREF)

ARRAY

Simulates "Select leg" for piping components:

Adds the given component and adjacent components within the branch which are in the same leg as the passed component.

.addAttached(DBREF)

ARRAY

Simulates "Select attached" for sections:

Adds the given section and all sections attached into the selection.

.addOffspring(DBREF)

ARRAY

Adds the highest significant sub-elements of given element to selection. This action as if DBREF were ancestor for select.

.remove(DBREF)

No Result

Remove highest significant parent of passed element from selection.

.clear()

No Result

Empty the selection.

.getCurrent()

No Result

Set the contents of the selection to the contents of the current graphical selection set.

.getAll()

No Result

Set the selection set to contain the entire Drawlist.

.setCurrent()

No Result

Set the current graphical selection set to be the same as the contents of the selection set.

Related Links
TitleResults for “How to create a CRG?”Also Available in