DGKC Control Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > DG Kernel Control > Interactive Functionality > Current Entities Go to ActiveX 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.