DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > DG Kernel Components > Interactive Functionality > Current Entities 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.SetBoolAttribute(ViewBoolAttribute_DG.eViewBoolAttributeDgEnableSurfaceHighLighting) to control this functionality.

See also Concepts of 3D Graphics, Viewing Interfaces.