This function closes the model. After this call no instance handles will be available including all
handles referencing the geometry of this specific file, in default compilation the model itself will
be known in the kernel, however known to be disabled. Calls containing the model reference will be
protected from crashing when called.
If the model is closed successfully the return value will be 0, in case of non-zero value:
1 - model is NULL or not recognized as a model handle
Syntax
public const string ifcenginedll = @"ifcengine.dll";
[DllImport(ifcenginedll, EntryPoint = "sdaiCloseModel")]
public static extern Int64 sdaiCloseModel(int_t model);
Property model
Size: 64 bit / 8 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.