SetInstanceClass

Syntax

//
//   Strong typing definition
//
OwlInstance     SetInstanceClass(
                        OwlInstance             owlInstance,
                        OwlClass                owlClass
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall SetInstanceClass(
                                                int64_t                 owlInstance,
                                                int64_t                 owlClass
                                            );
    

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.

Property owlClass

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the class. The term owl is comming from W3C, the classes follow the expression power of Semantic Web concepts, therefore classes support multiple inheritance. Technically classes can also be distributed over different resources, however for this the parametric library is required as an extension on the basic Geometry Kernel API.