This call is the same as sdaiGetADBTypePath, however can be used by porting to languages that have issues with returned char arrays.


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

[DllImport(IFCEngineDLL, EntryPoint = "sdaiGetADBTypePathx")]
public static extern IntPtr sdaiGetADBTypePathx(int_t ADB, int_t typeNameNumber, out IntPtr path);

public static string sdaiGetADBTypePathx(int_t ADB, int_t typeNameNumber)
            IntPtr path = IntPtr.Zero;
            sdaiGetADBTypePathx(ADB, typeNameNumber, out path);
            return System.Runtime.InteropServices.Marshal.PtrToStringAnsi(path);

Property ADB

Size: 32 bit / 4 byte (reference)

Property typeNameNumber

Size: 32 bit / 4 byte (value)

Property path

Size: 32 bit / 4 byte (reference)