GetSelectedObjects Method (ISelectionManager)

GetSelectedObjects Method (ISelectionManager) | Send Feedback
See Also

EntitiesArray[out]
  Array of selected entities of the specified entity types

SSType
  Type of selection as defined in dsSelectionSetType_e

EntityTypeLongArray[out]
  Array of entity types as defined in dsObjectType_e

Gets the selected entities of the specified entity types.

# Syntax

Visual Basic |
--- | ---
    Function GetSelectedObjects( _
       ByVal SSType As dsSelectionSetType_e, _
       ByRef EntityTypeLongArray As System.Object _
    ) As System.Object

C# |
--- | ---
    System.object GetSelectedObjects(
       dsSelectionSetType_e SSType,
       out System.object EntityTypeLongArray
    )

JavaScript |
--- | ---
    GetSelectedObjects(
       SSType : String
    ) : {
       EntityTypeLongArray : Array,
       EntitiesArray : Array
    }

COM native C++ |
--- | ---
    HRESULT GetSelectedObjects(
       dsSelectionSetType_e SSType,
       VARIANT* EntityTypeLongArray,
       VARIANT* EntitiesArray
    )

C++ |
--- | ---
    DSRESULT GetSelectedObjects(
       dsSelectionSetType_e SSType,
       dsLongArray* EntityTypeLongArray,
       dsObjectPtrArray* EntitiesArray
    )

#### Parameters

SSType
  Type of selection as defined in dsSelectionSetType_e
EntityTypeLongArray[out]
  Array of entity types as defined in dsObjectType_e
EntitiesArray[out] or Return Value
  Array of selected entities of the specified entity types

# See Also

####

ISelectionManager Interface
ISelectionManager Members
ISelectionManager::GetSelectedObject Method ()
ISelectionManager::GetSelectedObjectCount Method ()

# Availability

DraftSight V1R5.0