API Reference > Classes > Database Classes > OdBmDatabase Class
OdBmDatabase Class
Syntax
C++
class OdBmDatabase : public OdBmObject;

BmDatabase.h

This class implement functionality for BimRv database management.

Adds a new element and registers it in the database.  
Retrieves the host application service associated with the database.  
Retrieves the related database object.
 
This creates an independent copy of the family for editing.  
This creates an independent copy of the family for editing.  
Retrieves the unit formatter for the database. returns A smart pointer to an OdBmUnitsFormatter object that represents the currently used unit formatter. 
Retrieves the unit formatter for the database as a constant object. returns A smart pointer to an OdBmUnitsFormatter object that represents the currently used unit formatter. 
Retrieves the active OdBmDBDrawing object from the database.  
Retrieves the OdBmObjectId of active SketchPlane element from the active DBView.  
Retrieves the database manager of a specified type.  
Retrieves the database manager of a specified type.  
Retrieves the array of the database trackers.  
Retrieves application information manager for the database.  
This method is used for getting database back elements for rendering purposes. For internal use only. It is strictly recommended DO NOT use it in your custom applications.  
Retrieves the basic information about the database's file.  
Retrieves categories contained in the database.  
 
Retrieves the document content table from the database.  
Retrieves the database contents.  
Retrieves the content table from the database.  
Retrieves whether the database contains a corrupted document.  
Retrieves the development branch information for the database.  
Retrieves the display unit system.  
 
Retrieves the table of database elements.  
Retrieves upgrades that were executed for the database.  
Retrieves external services that were used within the database.  
Retrieves the family manager from the family database (contained in a .rfa file).  
Retrieves the name of the file related to the database.  
This method is used for getting database front elements for rendering purposes. For internal use only. It is strictly recommended DO NOT use it in your custom applications.  
Retrieves the document history from the database.  
 
Retrieves whether the database contains the core document.  
Retrieves whether the database is associated with a group file.  
This method is used for getting database middle elements for rendering purposes. For internal use only. It is strictly recommended DO NOT use it in your custom applications.  
 
Retrieves the noble secondary data from the database.  
Retrieves the identifier of the database-resident element by its handle.  
Retrieves the identifier of the database-resident element by its handle.  
Retrieves the version of the original file related to the database.  
Retrieves the identifier of the owner family for the database with group identifier.  
Retrieves the identifier of the owner family for the family database (i.e. for .rfa files).  
Retrieves the partition table from the database.  
Retrieves the root database.  
Retrieves the list software applications that were used for saving the database content in a file.  
Retrieves the information about the steel model from the database.  
Retrieves the current style settings applied to the database.  
Imports a BRep into BimRv representation.  
Initializes the database.  
Retrieves whether the Edit mode is enabled for the database.  
Retrieves whether the database is allocated in a .rvt file  
Retrieves whether the Worksharing mode is enabled for the database.  
Retrieves the latest version of the file where the database is allocated.  
Imports a Family into current database.  
Imports a Family into current database.  
Creates a new element table iterator. Iterator provides the sequential access to elements from database's element table.  
Creates a new element table iterator. Iterator provides the sequential access to element ids from database's element table.  
Creates a new element table iterator. Iterator provides the sequential access to elements from the database.  
Creates a new element table iterator. Iterator provides the sequential access to element ids from the database.  
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.