KernelCAD Documentation

DInsight Home
Skip Navigation Links.
Start page
Quick Start
Installation
Overview of the software
What is new
Collapse KernelCAD ModelsKernelCAD Models
Collapse KernelCAD ComponentsKernelCAD Components
KernelCAD Control
KernelCAD .NET Control
Methods and Properties
Menu
Model Explorer
Birds Eye View
Programming
Direct User Access
Direct Operations
Interface Queries
Printing Support
Data Types
Modes of KernelCAD Control
DIObjectGenerator class
Properties
FlatObjectArray Poperty
Context
64 bit development
Dual Mode
Initialisation Context
Overlay Editor
Memory Management
Input validation
Collapse Advanced functionalityAdvanced functionality
Collapse InterfacesInterfaces
Alphabetical list
I3DGrid
I3DBugger
I3Dpt
IAxiBase
IAxis
IBoolSection
IBoolSectionEx
IBoundary
IColor
IConstraint
IData
IDiffSurface_KC
IDIFont
IDraw
IDrawUtil
IDraw2
IElem
IElement
IKCLine
ILightSource
ILocation
ILocationEx
IMaterial
IMetrics
IMetrics2
IModel
IModel2
IModelEx
IPatch
IKCPathCollisionDetector
IProfiles
IPropertyArray
IPropertyArray2
IStdShape
IStrip
ISurface
IText
ITexture
ITransform
IUnknown
Collapse Open Cascade TechnologyOpen Cascade Technology
Collapse DataData
Collapse MovementMovement
Collapse FramesFrames
Collapse Oriented ObjectsOriented Objects
Collapse SectionsSections
Collapse GeneralGeneral
Collapse Topological InterfacesTopological Interfaces
Collapse Viewing InterfacesViewing Interfaces
Collapse Lines And CurvesLines And Curves
Collapse Symmetry InterfacesSymmetry Interfaces
Collapse Clipping plane interfacesClipping plane interfaces
Collapse AlgorithmsAlgorithms
Collapse 2D Geometry2D Geometry
Collapse Programming Samples and TutorialsProgramming Samples and Tutorials
Collapse OverviewOverview
Collapse DeploymentDeployment
Collapse .NET Samples.NET Samples
Collapse C++ SamplesC++ Samples
Collapse Visual Basic SamplesVisual Basic Samples
Collapse Delphi SamplesDelphi Samples
Collapse 3D Debugger3D Debugger
Collapse DeploymentDeployment
Licensing
Model Viewer
Open C++ Source
Technical Support
Skip Navigation LinksHome Page > KernelCAD Components > Interfaces > General > IControlInitialisationContext_KC
IControlInitialisationContext_KC Interface

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 KernelCAD 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.