This call can be used to get the domain of an attribute


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

[DllImport(IFCEngineDLL, EntryPoint = "engiGetAttrDomain")]
public static extern IntPtr engiGetAttrDomain(int_t attribute, out IntPtr domainName);

public static string engiGetAttrDomain(int_t attribute)
            IntPtr domainName = IntPtr.Zero;
            engiGetAttrDomain(attribute, out domainName);
            return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(domainName);

Property attribute

Size: 64 bit / 8 byte (reference)

Property domainName

Size: 64 bit / 8 byte (reference)
The attribute that will be filled with the domain name.