Share

AcGiContext::database

C++

virtual AcDbDatabase * database() const = 0;

Description

Every regeneration relates to a specific database, and if your object needs to query the database for any purpose, this is the database you should use. This is in contrast to using the database returned by the AcDbObject::database() method.

The pointer returned by this function is the pointer to the current database and is guaranteed to be not NULL.

Links

AcGiContext

Was this information helpful?