engiGetAttrDomain

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

Syntax

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: 32 bit / 4 byte (reference)
...

Property domainName

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