DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Expand ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Expand API ReferenceAPI Reference
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > DG Kernel Controls > Interactive Functionality > Current Entities Go to DGKC docs Search Documentation


Current Entity Set

One or more entities in the view of the DGK control can be selected as Current. Current entities are used in several places in the software. One is that current entities are the ones moved in space (relatively to other entities) in Modify mode

Other uses include:

The current entity set can be accessed via IScene_DG.GetCurrentItemSet().

Use: DGKControl > GetView() > IScene_DG > GetCurrentItemSet() > ISelection_DG.SetSelected() for adding an entity to the current set.

The current objects can be highlighted. Use IView_DG.SetBool(ViewBoolAttribute_DG.eViewBoolAttributeDgEnableSurfaceHighLighting) to control this functionality.

See also Concepts of 3D Graphics, Viewing Interfaces.