CreateInstanceInContextStructure

InstanceInContext structures give you more detailed information about individual parts of the geometry of a certain instance viualized.
It is allowed to have more then 1 InstanceInContext structures per instance.
InstanceInContext structures are updated dynamically when the geometry structure is updated.

Syntax

//   Visual Studio for Windows
public:
__int64 __declspec(dllexport) __stdcall CreateInstanceInContextStructure(
            __int64             owlInstance
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
int64_t CreateInstanceInContextStructure(
            int64_t             owlInstance
        );    

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.