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

 

See Also

Availability

DraftSight V1R1.3