Share

AcDbEntity::subSetDatabaseDefaults

C++

virtual ACDBCORE2D_PORT void subSetDatabaseDefaults(
    AcDbDatabase* pDb
);

Description

Function usage

This function is not intended to be called by ObjectARX applications. It is designed to be called by the AcDbEntity::setDatabaseDefaults() method in order to provide a "hook" into the setDatabaseDefaults process.

Function implementation in derived classes

This function is called from within setDatabaseDefaults() after the property values have been set within the entity. As such, it provides a hook into the setDatabaseDefaults operation at a time when you can see what the new values are, change them if desired, and make other changes as well.

The entity is open for write, and there are no restrictions on what you can do within this function other than those normally imposed on any object open for write.

Default implementation

Immediately return without performing any action.

Parameters

Parameters Description
pDb Input database to set defaults from. This argument is forwarded by the internal setDatabaseDefaults() method that calls this method.

Links

AcDbEntity

Was this information helpful?