DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Expand ModelsModels
Expand DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Collapse ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > API Reference > Model > Entities > IEntityArray_DG Go to DGKC docs Search Documentation


IEntityArray_DG Interface

A standalone entity array can be constructed via IObjectGenerator_DG.Create("IEntityArray_DG") call.

GetCount
IsEmpty
GetAt
SetAt
Add
AddNew
InsertAt
Find
GetFlatDescendantArray
ListDescendants
RemoveAt
Clear
RemoveAll
RemoveEntity
RemoveEntities
Append
GetEnumerator

int GetCount()


bool IsEmpty()


IEntity_DG GetAt(int index)


void SetAt(int index, IEntity_DG entity)


void Add(IEntity_DG entity)


void AddNew(int type, IEntity_DG entity)


void InsertAt(int indexAt, IEntity_DG entity)


int Find(IEntity_DG entity)

Returns zero based index or -1, if not found


IEntityArray_DG GetFlatDescendantArray(bool includeItems)


IEntityArray_DG ListDescendants(IDictionary_DG query)

Not implemented in this release


void RemoveAt(int index)


void Clear()


void RemoveAll((IDictionary_DG filter)

The filter parameter is ignored in this update


bool RemoveEntity(IEntity_DG entity, bool searchDescendants)

Returns false if the entity was not found


void RemoveEntities(IEntityArray_DG entities)


void Append(IEntityArray_DG entities)


IEnumerator GetEnumerator()