tpm_acload

Land Desktop Development ARX CPP SDK

Up a level
tpm_acload
 
 

Loads a topology into memory.

int

tpm_acload(

char *toponame,

int source);

Returns RTNORM or an error code.

toponame The name of the topology to load.
source The source flag, either 1 (read from source drawings only) or 0 (read from current drawing only). The default is 0.

Before loading a topology, you must first test for its existence with tpm_acexist.

Topology information is stored in the drawing, but the topology is not automatically loaded when you open the drawing. If you want, for example, to query, edit, or overlay a topology, you must load it into memory. Once loaded, the topology remains in memory until you unload it.