Returns a handle to the model within the Geometry Kernel.
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 model handle also,
however most correct would be to get and use the Geometry Kernel handle.
Syntax
public const string enginedll = @"engine.dll";
[DllImport(enginedll, EntryPoint = "owlGetModel")]
public static extern void x86_owlGetModel(Int32 model, out Int64 owlModel);
[DllImport(enginedll, EntryPoint = "owlGetModel")]
public static extern void x64_owlGetModel(Int64 model, out Int64 owlModel);
public static void owlGetModel(Int64 model, out Int64 owlModel)
{
if (IntPtr.Size == 4)
{
x86_owlGetModel((Int32)model, out Int64 _owlModel);
owlModel = _owlModel;
}
else
{
x64_owlGetModel(model, out owlModel);
}
}
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.
Property owlModel
Size: 64 bit / 8 byte (reference)
...