CimProject.Database (read-only property)

Gets the CimDatabase object.
Syntax: Set CimDatabase = object.Database
Description: The CimProject.Database property is read-only and returns the project's CimDatabase object so that it can be modified.

Example

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim db as CimDataBase
set db = project.DataBase