sdaiIsKindOfBN

This call checks if an instance is a type of a certain given entity. Technically sdaiIsKindOfBN will transform into the following call

    sdaiIsKindOf(
            instance,
            sdaiGetEntity(
                    engiGetEntityModel(
                            sdaiGetInstanceType(
                                    instance
                                )
                        ),
                    entityName
        );

Syntax

public const string ifcenginedll = @"ifcengine.dll";

[DllImport(IFCEngineDLL, EntryPoint = "sdaiIsKindOfBN")]
public static extern Int64 sdaiIsKindOfBN(int_t instance, string entityName);

[DllImport(IFCEngineDLL, EntryPoint = "sdaiIsKindOfBN")]
public static extern Int64 sdaiIsKindOfBN(int_t instance, byte[] entityName);    

Property instance

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

Property entityName

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