DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
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
Open Source
Support
Skip Navigation LinksHome Page > API Reference > View > ISelection_DG 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_KC 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()