engiSaveSchemaBNUnicode

This function saves the schema (wchar, i.e. Unicode file name). If save operation finished succesfully the return value will be 0, in case of non-zero value: 1 - model is NULL or not recognized as a model handle 2 - file at path location cannot be created/overwritten

Syntax

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

[DllImport(ifcenginedll, EntryPoint = "engiSaveSchemaBNUnicode")]
public static extern Int32 engiSaveSchemaBNUnicode(int_t model, string filePath);

[DllImport(ifcenginedll, EntryPoint = "engiSaveSchemaBNUnicode")]
public static extern Int32 engiSaveSchemaBNUnicode(int_t model, byte[] filePath);    

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 filePath

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