engiGetAttrOptionalBN

This call can be used to check if an attribute is optional. Technically engiGetAttrOptionalBN will transform into the following call

    engiGetAttrOptional(
            sdaiGetAttrDefinition(
                    entity,
                    attributeName
                )
        );

Syntax

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

[DllImport(IFCEngineDLL, EntryPoint = "engiGetAttrOptionalBN")]
public static extern Int64 engiGetAttrOptionalBN(int_t entity, string attributeName);

[DllImport(IFCEngineDLL, EntryPoint = "engiGetAttrOptionalBN")]
public static extern Int64 engiGetAttrOptionalBN(int_t entity, byte[] attributeName);    

Property entity

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

Property attributeName

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