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
Collapse ModelModel
Expand ViewView
Expand 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 > Model > Import / Export > IDataContext 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.