Share

acdbModelerEnd

C++

ACDB_PORT void acdbModelerEnd();

File

dbacis.h

Description

This function decrements the reference counter that was incremented by a previous call to acdbModelerStart(). If the reference count is zero after the decrement, then the modeler DLLs are unloaded from memory.

Note

RealDWG host applications that load the modeler DLLs must call the acdbModelerEnd() function before terminating if the modeler DLLs are loaded. This requirement applies whether the DLLs are loaded explicitly, or through demand loading when reading a file that contains solid entities. An easy way to do this is to place the following code where it will execute when your application exits:

if (acdbIsModelerStarted())
    acdbModelerEnd();

Previous Declaration

void acdbModelerEnd();

Was this information helpful?