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 = "owlBuildInstanceInContext")]
public static extern void owlBuildInstanceInContext(int_t instanceBase, int_t instanceContext, out Int64 owlInstance);    

Property instanceBase

Size: 64 bit / 8 byte (value)

Property instanceContext

Size: 64 bit / 8 byte (value)

Property owlInstance

Size: 64 bit / 8 byte (reference)