Checks if the class has given ancestor Returns 0 if not or minimal generation number (1 for direct parent)


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

[DllImport(enginedll, EntryPoint = "IsClassAncestor")]
public static extern Int64 IsClassAncestor(Int64 owlClass, Int64 ancestorOwlClass);    

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.

Property ancestorOwlClass

Size: 64 bit / 8 byte (value)