sdaiSaveModelAsSimpleXmlBN
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "sdaiSaveModelAsSimpleXmlBN")] public static extern void x86_sdaiSaveModelAsSimpleXmlBN(Int32 model, string fileName); [DllImport(enginedll, EntryPoint = "sdaiSaveModelAsSimpleXmlBN")] public static extern void x64_sdaiSaveModelAsSimpleXmlBN(Int64 model, string fileName); public static void sdaiSaveModelAsSimpleXmlBN(Int64 model, string fileName) { if (IntPtr.Size == 4) { x86_sdaiSaveModelAsSimpleXmlBN((Int32)model, fileName); } else { x64_sdaiSaveModelAsSimpleXmlBN(model, fileName); } } [DllImport(enginedll, EntryPoint = "sdaiSaveModelAsSimpleXmlBN")] public static extern void x86_sdaiSaveModelAsSimpleXmlBN(Int32 model, byte[] fileName); [DllImport(enginedll, EntryPoint = "sdaiSaveModelAsSimpleXmlBN")] public static extern void x64_sdaiSaveModelAsSimpleXmlBN(Int64 model, byte[] fileName); public static void sdaiSaveModelAsSimpleXmlBN(Int64 model, byte[] fileName) { if (IntPtr.Size == 4) { x86_sdaiSaveModelAsSimpleXmlBN((Int32)model, fileName); } else { x64_sdaiSaveModelAsSimpleXmlBN(model, fileName); } }