< Home

< Reference Manual

< Supported File Formats

PROGRAMMING GUIDE

Contents

Programming with Exchange

Working with the Exchange API

Parsing a PRC File

Creating a PRC file that uses boundary representation

Creating a tessellation entity for representing faceted objects

Terminating the interface with the Exchange API

When all parsing is complete, you must delete the in-memory model of the PRC, de-allocate any other memory allocations, and terminate the HOOPS Exchange API. The process is as follows:

  1. Delete the model file in memory. This model was created when the A3DAsmModelFileLoadFromFile function was called.
    A3DAsmModelFileDelete(p);
  2. Ensure that all memory is de-allocated.
  3. Terminate the Exchange API by invoking the A3DDllTerminate function, as follows:
    A3DDllTerminate();