Minimal Program example
 
 
 

The bare minimum plug-in to use the MDt functions consist of:

The following code snippet shows the functions that would need to be called. This snippet doesn’t actually output anything. There would normally be additional calls to customize the method of populating the internal database and actual calls to retrieve and output the data itself. This is just a sample.

// Initialize the internal database with a scene “name”
DtExt_SceneInit( “basic” );
//Now we can setup the database from the wire file geometry
DtExt_dbInit();
// Clean house.
DtExt_CleanUp();