Provides CAD Exchanger BIM data model. More...
Public Member Functions | |
ModelData_BIMModel () | |
Constructor. | |
bool | Save (const Base_UTF16String &theFileName, const Base_ProgressStatus &theProgressStatus=Base_ProgressStatus()) const |
Saves the model object to a file. | |
bool | Save (const Base_UTF16String &theFileName, const ModelData_BIMWriterParameters &theParameters, const Base_ProgressStatus &theProgressStatus=Base_ProgressStatus()) const |
Saves the model object to a file. | |
bool | Open (const Base_UTF16String &theFileName, const Base_ProgressStatus &theProgressStatus=Base_ProgressStatus()) |
Loads the model object from the file. | |
ModelData_BIMHostElement | Root () const |
Returns root BIM element as entry point to BIM elements hierarchy. | |
void | SetRoot (const ModelData_BIMHostElement &theElement) |
Sets root BIM element as entry point to BIM elements hierarchy. | |
void | Accept (ModelData_BIMElementVisitor &theVisitor) const |
Accepts a visitor. | |
internal::ModelData_BIMModelImpl * | Impl () const |
Returns an implementation object (reserved for internal use). | |
Provides CAD Exchanger BIM data model.
ModelData_BIMModel::ModelData_BIMModel(): myImpl (new internal::ModelData_BIMModelImpl()) The BIM data model encapsulates data about BIM elements and their hierarchy and is thus an entry point to entire BIM model data, including elements, geometry, properties, materials.
cadex::ModelData_BIMModel::ModelData_BIMModel | ( | ) |
Constructor.
Creates a model with empty Root element.
bool cadex::ModelData_BIMModel::Open | ( | const Base_UTF16String & | theFileName, |
const Base_ProgressStatus & | theProgressStatus = Base_ProgressStatus() |
||
) |
Loads the model object from the file.
The method can be called on a nullified model.
bool cadex::ModelData_BIMModel::Save | ( | const Base_UTF16String & | theFileName, |
const Base_ProgressStatus & | theProgressStatus = Base_ProgressStatus() |
||
) | const |
Saves the model object to a file.
Any folders you specify in the output path that are not yet present in the filesystem will be created automatically.
bool cadex::ModelData_BIMModel::Save | ( | const Base_UTF16String & | theFileName, |
const ModelData_BIMWriterParameters & | theParameters, | ||
const Base_ProgressStatus & | theProgressStatus = Base_ProgressStatus() |
||
) | const |
Saves the model object to a file.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Any folders you specify in the output path that are not yet present in the filesystem will be created automatically.