DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Expand ModelModel
Collapse ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > API Reference > View > ISelection_DG Go to ActiveX docs Search Documentation


ISelection_DG Interface

GetSelectedItems
SetSelected
ClearSelection

ISelection_DG can be queried from IView_DG. Typical query: dgControl.GetView() > ISelection_DG


IArray_DG GetSelectedItems()

The array contains IObject_DG elements. In v6.0 all elements are actually entities, so IEntity_DG and related interfaces can be queried.

Selection can be made by the end user or by the SetSelected() method below.


void SetSelected(IObject_DG item, bool selected)

item must be quried from an entity (IEntity_DG or related interface).


void ClearSelection()