GetEntities Method (ISketchManager)

GetEntities Method (ISketchManager) | Send Feedback
See Also Example

Filter
  Selection filter indicating which entities to get or a null value to accept all types of entities

LayerNamesStrArray
  Array of strings of the names of the Layers where the entities reside

EntityTypeLongArray[out]
  Array of longs indicating the types of entities returned as defined in dsObjectType_e

EntitiesArray[out]
  Array of objects of the entities returned

Get the specified entities and their types.

# Syntax

Visual Basic |
--- | ---
    Sub GetEntities( _
       ByVal Filter As SelectionFilter, _
       ByVal LayerNamesStrArray As System.Object, _
       ByRef EntityTypeLongArray As System.Object, _
       ByRef EntitiesArray As System.Object _
    )

C# |
--- | ---
    void GetEntities(
       SelectionFilter Filter,
       System.object LayerNamesStrArray,
       out System.object EntityTypeLongArray,
       out System.object EntitiesArray
    )

JavaScript |
--- | ---
    GetEntities(
       Filter : dsSelectionFilter,
       LayerNamesStrArray : Array
    ) : {
       EntityTypeLongArray : Array,
       EntitiesArray : Array
    }

COM native C++ |
--- | ---
    HRESULT GetEntities(
       ISelectionFilter* Filter,
       VARIANT LayerNamesStrArray,
       VARIANT* EntityTypeLongArray,
       VARIANT* EntitiesArray
    )

C++ |
--- | ---
    DSRESULT GetEntities(
       dsSelectionFilter* Filter,
       const dsStringArray& LayerNamesStrArray,
       dsLongArray* EntityTypeLongArray,
       dsObjectPtrArray* EntitiesArray
    )

#### Parameters

Filter
  Selection filter indicating which entities to get or a null value to accept all types of entities
LayerNamesStrArray
  Array of strings of the names of the Layers where the entities reside
EntityTypeLongArray[out]
  Array of longs indicating the types of entities returned as defined in dsObjectType_e
EntitiesArray[out] or Return Value
  Array of objects of the entities returned

# Example

Get and Set Hatch Pattern Data (C#)
Get and Set Hatch Pattern Data (VB.NET)
Get and Set Hatch Pattern Data (VBA)
Insert Splines (C#)
Insert Splines (VB.NET)
Insert Splines (VBA)
Select and Change Entities (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members
ISelectionManager::GetSelectedObject Method
ISelectionManager::GetSelectedObjects Method
ISketchManager::CopyEntities Method
ISketchManager::ExtendEntities Method
ISketchManager::MirrorEntities Method
ISketchManager::MoveEntities Method
ISketchManager::RotateEntities Method
ISketchManager::ScaleEntities Method
ISketchManager::StretchEntities Method
ISketchManager::TrimEntities Method
ISketchManager::ChamferEntities Method
ISketchManager::FilletEntities Method
IEntityHelper Interface

# Availability

DraftSight V1R1.3