sdaiSaveModelBNUnicode

This function saves the model (wchar, i.e. Unicode file name).

Syntax

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

[DllImport(IFCEngineDLL, EntryPoint = "sdaiSaveModelBNUnicode")]
public static extern void sdaiSaveModelBNUnicode(int_t model, string fileName);

[DllImport(IFCEngineDLL, EntryPoint = "sdaiSaveModelBNUnicode")]
public static extern void sdaiSaveModelBNUnicode(int_t model, byte[] fileName);    

Property model

Size: 32 bit / 4 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property fileName

Size: 32 bit / 4 byte (reference)
The file name of the file as available in the file system in Unicode (wchar_t *). The given wchar_t array will not be adjusted. The size of each wchar_t element is depending on the OS, both 16 bit / 2 bytes wchar_t elements as well as 32 bit / 4 byte wchar_t elements are recognized and supported.