sdaiIsInstanceOfBN

This call checks if an instance is an exact instance of a given entity. Technically sdaiIsInstanceOfBN will transform into the following call

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

Syntax

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

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

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

Property instance

Size: 32 bit / 4 byte (value)
...

Property entityName

Size: 32 bit / 4 byte (reference)
...