GetInstanceGeometryClassEx

If one of the classes this instance is instantiated from or one of its parents is a geometry class, this class is returned. In all other cases the return value is 0.

Syntax

//
//   Strong typing definition
//
OwlClass        GetInstanceGeometryClassEx(
                        OwlModel                model,
                        OwlInstance             owlInstance
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall GetInstanceGeometryClassEx(
                                                int64_t                 model,
                                                int64_t                 owlInstance
                                            );
    

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 owlInstance

Size: 64 bit / 8 byte (value)
The handle to the specific instance in the design tree. The instance handle is static within one open model but is most probably different when the same instance is opened in another model. The instance is always exactly of one unique class.