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.
Syntax
//
// Strong typing definition
//
OwlInstance owlBuildInstanceMT(
SdaiInstance instance,
SdaiModel model
);
static inline OwlInstance owlBuildInstanceMT(
SdaiInstance instance
)
{
return owlBuildInstanceMT(
instance,
0 // model
);
}
//
// Weak typing definition
//
int64_t __declspec(dllexport) __stdcall owlBuildInstanceMT(
int_t instance,
int_t model
);
static inline int64_t owlBuildInstanceMT(
int_t instance
)
{
return owlBuildInstanceMT(
instance,
0 // model
);
}
Property instance
Size: 64 bit / 8 byte (value)
...
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.