SetObjectProperty

This function sets the value(s) of a certain objectTypeProperty in the context of an instance. The value of card gives the actual card of the value list. The list value of integers is a list of handles to instances, this list has a length as givin in the value card.

Note: the client application needs to make sure the cardinality of the property is within the boundaries.

Syntax

//   Visual Studio for Windows
public:
__int64 __declspec(dllexport) __stdcall SetObjectProperty(
            __int64        owlInstance,
            __int64        rdfProperty,
            __int64        * value,
            __int64        card
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
int64_t SetObjectProperty(
            int64_t        owlInstance,
            int64_t        rdfProperty,
            int64_t        * value,
            int64_t        card
        );    

Property owlInstance

Size: 64 bit / 8 byte (value)
...

Property rdfProperty

Size: 64 bit / 8 byte (value)
...

Property value

Size: 64 bit / 8 byte (reference)
...

Property card

Size: 64 bit / 8 byte (value)
the cardinality of the array as given or returned