DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


IDataContext Interface

SetVerbose
SetNoWarnings

IDataContext is the base interface for setting various options for import/export of models of different types. 

IDataContext is available only in componets of DG Kernel Enterprise product

See also Interface List


HRESULT SetVerbose( VARIANT_BOOL verbose )

Parameters

verbose - [in] - Display options in a component's dialogue. See remarks.

Returns

S_OK in case of success.
Remarks:

If verbose is true the DG Kernel component will display dialogs prompting user to make selection of data exchange options: Crease angle, binary/ASCII etc. The default for this property is true. Set it to false to supply own user interface or accept all defaults.


HRESULT SetNoWarnings( VARIANT_BOOL noWarnings )

Parameters

noWarnings  - [in] If true the component will not display warnings when overwriting or removing a data directory.

Return Values

S_OK in case of success.
Remarks:

By default the component will display a warning message when a data directory is about to be deleted. Call this method with parameter false to suppress the message.