CreateInstanceInContextStructure

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

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "CreateInstanceInContextStructure")]
public static extern Int64 CreateInstanceInContextStructure(Int64 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.