Returns a handle to the instance representing the head of design tree within the Geometry Kernel. If no design tree is created yet it will be created on-the-fly. Note: the STEP Engine uses one or more models within the Geometry Kernel to generate design trees within the Geometry Kernel. All Geometry Kernel calls can be called with the STEP instance handle also, however most correct would be to get and use the Geometry Kernel handle.


public const string ifcenginedll = @"ifcengine.dll";

[DllImport(IFCEngineDLL, EntryPoint = "owlBuildInstance")]
public static extern void owlBuildInstance(int_t model, int_t instance, out Int64 owlInstance);    

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 instance

Size: 32 bit / 4 byte (value)

Property owlInstance

Size: 32 bit / 4 byte (reference)