cleanMemory

This call forces cleaning of memory allocated. The following mode values are effected: 0 non-cached geometry tree structures 1 cached and non-cached geometry tree structures + resetting buffers for internally used Geometry Kernel instance 3 cached and non-cached geometry tree structures 4 clean memory allocated within a session for ADB structures and string values (including enumerations requested as wide char).

Syntax

//
//   Strong typing definition
//
void            cleanMemory(
                        SdaiModel               model,
                        int_t                   mode
                    );


//
//   Weak typing definition
//
void    __declspec(dllexport) __stdcall   cleanMemory(
                                                                        int_t                   model,
                                                                        int_t                   mode
                                                                    );
    

Property model

Size: 32 bit / 4 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property mode

Size: 32 bit / 4 byte (value)
...