sdaiSaveModelAsJsonBNUnicode

This function saves the model as JSON according to IFC4's way of JSON serialization (wchar, i.e. Unicode file name).

Syntax

//
//   Strong typing definition
//
void            sdaiSaveModelAsJsonBNUnicode(
                        SdaiModel               model,
                        const wchar_t           * fileName
                    );

static  inline  void    sdaiSaveModelAsJsonBNUnicode(
                                SdaiModel               model,
                                wchar_t                 * fileName
                            )
{
    return  sdaiSaveModelAsJsonBNUnicode(
                    model,
                    (const wchar_t*) fileName
                );
}


//
//   Weak typing definition
//
void    __declspec(dllexport) __stdcall sdaiSaveModelAsJsonBNUnicode(
                                                int_t                   model,
                                                const wchar_t           * fileName
                                            );

static  inline  void    sdaiSaveModelAsJsonBNUnicode(
                                int_t                   model,
                                wchar_t                 * fileName
                            )
{
    return  sdaiSaveModelAsJsonBNUnicode(
                    model,
                    (const wchar_t*) 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.