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
Expand ViewView
Collapse 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 > General Computing > IControlInitialisationContext_KC Search Documentation


IControlInitialisationContext_KC Interface

Activate
IsActive
ReleaseContext
SetModelPath
GetModelPath
SetShowGlobalAxes
GetShowGlobalAxes
SetBackgroundColor
GetBackgroundColor
SetRenderSolid
GetRenderSolid
SetTransparBackgrEnabled
GetTransparBackgrEnabled
SetVisible
IsVisible
SetHandleComposited
GetHandleComposited
ResetToDefaults
GetExtendedProperties
GetUserDefinedProperties

Implements properties of Initialisation Context of DG Kernel Components

This interface can be obtained using IGlobalAPI_KC.LockInitialisationContext() method via query:

(new KcApiComProxy)>IGlobalAPI_KC>LockInitialisationContext >IControlInitialisationContext_KC

See also: Properties of initialisation context, Dual Mode


Activate(VARIANT_BOOL active)

Activates the context.


IsActive(VARIANT_BOOL* active)

The method returns the current state of the Active property


ReleaseContext()

Releases the context and makes it available for other threads


SetModelPath(char* path)


GetModelPath(BSTR* path)


SetShowGlobalAxes(VARIANT_BOOL show)


GetShowGlobalAxes(VARIANT_BOOL* show)


SetBackgroundColor(float red, float green, float blue, float alpha)


GetBackgroundColor(float* red, float* green, float* blue, float* alpha)


SetRenderSolid(VARIANT_BOOL solid)


GetRenderSolid(VARIANT_BOOL* solid)


SetTransparBackgrEnabled(VARIANT_BOOL enabled)


GetTransparBackgrEnabled(VARIANT_BOOL* enabled)


SetVisible(VARIANT_BOOL visible)


IsVisible(VARIANT_BOOL* visible)


SetHandleComposited(VARIANT_BOOL handle)


GetHandleComposited(VARIANT_BOOL* handle)


ResetToDefaults()

Restores default values for all properties of the initialisation context


GetExtendedProperties(IKCContext** context)

Returns extended properties of the Initialisation Context


GetUserDefinedProperties(IKCContext** context)

Remarks:

The User Defined Properties are defined by the application. They allow storing and quering from the control various custom properties, like an application-specific control ID, defined during creation of the control. This method is not implemented in this release. Contact us to request implementation.