GetRangeRestrictionsByIterator

Returns the next class the property is restricted to.
If input class is zero, the handle will point to the first relevant class.
If all classes are past (or no relevant classes are found), the function will return 0.

Syntax

//   Visual Studio for Windows
public:
__int64 __declspec(dllexport) __stdcall GetRangeRestrictionsByIterator(
            __int64             rdfProperty,
            __int64             owlClass
        );

//   Linux, OS-X and non-Visual Studio Windows solutions
public:
int64_t GetRangeRestrictionsByIterator(
            int64_t             rdfProperty,
            int64_t             owlClass
        );    

Property rdfProperty

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the property, this can be either a datatype property (attribute), an object property (relation) or non-defined property. 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 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.