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:
Delete the model file in memory. This model was created when the A3DAsmModelFileLoadFromFile function was called.
A3DAsmModelFileDelete(p);
Ensure that all memory is de-allocated.
Terminate the Exchange API by invoking the A3DDllTerminate function, as follows: