IsInstanceOfClassExact (inline)

...

Syntax

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

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

public static bool IsInstanceOfClassExact(Int64 owlInstance, string name)
        {
            return GetInstanceClass(owlInstance) == GetClassByName(GetModel(owlInstance), name);
        }

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

public static bool IsInstanceOfClassExact(Int64 owlInstance, byte[] name)
        {
            return GetInstanceClass(owlInstance) == GetClassByName(GetModel(owlInstance), name);
        }    

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 name

Size: 64 bit / 8 byte (reference)
This attribute represents the name of the class (given as char array / ASCII). The name is given by the host and the attribute is not changed.