GetObjectTypeProperty

This call is deprecated and will be removed by end of 2022. Please use the call GetObjectProperty instead, just rename the function name.

Syntax

//
//   Strong typing definition
//
int64_t         GetObjectTypeProperty(
                        OwlInstance             owlInstance,
                        OwlObjectProperty       owlObjectProperty,
                        const OwlInstance       ** values,
                        int64_t                 * card
                    );

static  inline  int64_t GetObjectTypeProperty(
                                OwlInstance             owlInstance,
                                OwlObjectProperty       owlObjectProperty,
                                OwlInstance             ** values,
                                int64_t                 * card
                            )
{
    return  GetObjectTypeProperty(
                    owlInstance,
                    owlObjectProperty,
                    (const OwlInstance**) values,
                    card
                );
}


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall GetObjectTypeProperty(
                                                int64_t                 owlInstance,
                                                int64_t                 owlObjectProperty,
                                                const int64_t           ** values,
                                                int64_t                 * card
                                            );

static  inline  int64_t GetObjectTypeProperty(
                                int64_t                 owlInstance,
                                int64_t                 owlObjectProperty,
                                int64_t                 ** values,
                                int64_t                 * card
                            )
{
    return  GetObjectTypeProperty(
                    owlInstance,
                    owlObjectProperty,
                    (const OwlInstance**) values,
                    card
                );
}
    

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 owlObjectProperty

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the object property (relation). The handle will be static during the life-time of the model, when the model (or part of it) is saved and opened again, the handle will most probably be different.

Property values

Size: 64 bit / 8 byte (reference)
The output array for object properties content. The contents memory is allocated by the library

Property card

Size: 64 bit / 8 byte (reference)
The cardinality (i.e. number of elements) of the array as given or returned.