sdaiSaveModelAsXmlBN

This function saves the model as XML according to IFC2x3's way of XML serialization (char file name).

Syntax

//
//   Strong typing definition
//
void            sdaiSaveModelAsXmlBN(
                        SdaiModel               model,
                        const char              * fileName
                    );

static  inline  void    sdaiSaveModelAsXmlBN(
                                SdaiModel               model,
                                char                    * fileName
                            )
{
    return  sdaiSaveModelAsXmlBN(
                    model,
                    (const char*) fileName
                );
}


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

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