DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Expand API ReferenceAPI Reference
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > Models > Persistence Search Documentation


Model Persistence

Models can be loaded or saved by DG Kernel component programmatically at runtime. To save use either Save or SaveAs methods of the component or IModel_DG.Save*() methods.

To load either change the ModelPath property to a new location or use IModel_DG.Load*().. 

The required format in the above operations is determined by the file extension

IModelEx also provides methods for saving and loading the model to and from a memory buffer bypassing the file system, which allows embedding DG Kernel models in application documents and other tasks.

See Also: Models