owlBuildInstanceInContextMT

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                 owlBuildInstanceInContextMT(
                                    SdaiInstance            instanceBase,
                                    SdaiInstance            instanceContext,
                                    SdaiModel               model
                                );

static  inline  OwlInstance owlBuildInstanceInContextMT(
                                    SdaiInstance            instanceBase,
                                    SdaiInstance            instanceContext
                                )
{
    return  owlBuildInstanceInContextMT(
                    instanceBase,
                    instanceContext,
                    0                                   //    model
                );
}


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall owlBuildInstanceInContextMT(
                                                int_t                   instanceBase,
                                                int_t                   instanceContext,
                                                int_t                   model
                                            );

static  inline  int64_t owlBuildInstanceInContextMT(
                                int_t                   instanceBase,
                                int_t                   instanceContext
                            )
{
    return  owlBuildInstanceInContextMT(
                    instanceBase,
                    instanceContext,
                    0                                   //    model
                );
}
    

Property instanceBase

Size: 64 bit / 8 byte (value)
???.

Property instanceContext

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.