This function saves the model as JSON according to IFC4's way of JSON serialization (char file name).
Syntax
//
// Strong typing definition
//
void sdaiSaveModelAsJsonBN(
SdaiModel model,
const char * fileName
);
static inline void sdaiSaveModelAsJsonBN(
SdaiModel model,
char * fileName
)
{
return sdaiSaveModelAsJsonBN(
model,
(const char*) fileName
);
}
//
// Weak typing definition
//
void __declspec(dllexport) __stdcall sdaiSaveModelAsJsonBN(
int_t model,
const char * fileName
);
static inline void sdaiSaveModelAsJsonBN(
int_t model,
char * fileName
)
{
return sdaiSaveModelAsJsonBN(
model,
(const char*) fileName
);
}
Property model
Size: 64 bit / 8 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: 64 bit / 8 byte (reference)
The file name of the file as available in the file system in ASCII (char *). The given char array will not be adjusted, on each OS the size of a char element is 8 bit / 1 byte.