Share

AcDbObject::intendedDatabase

C++

AcDbDatabase* intendedDatabase() const;

Description

If this AcDbObject is not yet in an AcDbDatabase, and it has had its intended AcDbDatabase set, then this method will return a pointer to that intended AcDbDatabase. The intended AcDbDatabase may be set when a database specific property (such as the layer or linetype on entities) is set on this AcDbObject, or if this AcDbObject'ssetIntendedDatabase() method has been called to explicitly set the intended AcDbDatabase.

After this AcDbObject is added to an AcDbDatabase, this method will always return nullptr.

Links

AcDbObject

Was this information helpful?