Réserver une Démo
Pré. Proc.

EASelection Class

The EASelection Class provides optimized functions to access information on the current selection. It should be used when building Add-In menus and setting the menu state, as almost all properties can be used without any database queries being made.

EASelection Attributes

Attribute

Remarks

See also

Context

EAContext

Notes:

Describes the currently focused element without requiring any database calls.

EAContext Class

ElementSet

Collection

Notes:

When the selection consists of one or more objects of type otElement, this provides a collection giving optimized access to all of those elements.

Collection Class Element Package

List

Collection

Notes:

For any window where multiple selection is supported, this provides a list describing the type of every selected element without requiring any database calls.

EAContext Class Collection Class

Location

String

Notes:

Provides the type of window that contains the current selection.

Possible values are:

  • Calendar
  • Diagram
  • Dialog
  • Element List
  • Gantt
  • Model View
  • Browser window
  • Project View
  • Relationship Matrix
  • Reviews
  • Search
  • Specification Manager

Further values could be added to this list in the future.

ObjectType

ObjectType

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

ObjectType

EASelection Methods

None.