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 void engiGetAttrDomain(int_t attribute, out IntPtr domainName);

public static string engiGetAttrDomain(int_t attribute)
            IntPtr domainName = IntPtr.Zero;
            RDF.engine.engiGetAttrDomain(int_tattribute, 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.