Share
 
 

Override Required AcDb Member Functions

Level

Requirement

Applies to

ObjectARX and ObjectDBX modules

The following functions must be implemented:

  • AcDbEntity::subWorldDraw() (if applicable)
  • AcDbEntity::subViewportDraw() (if applicable)
  • AcDbObject::dwgInFields()
  • AcDbObject::dwgOutFields()
  • AcDbObject::dxfInFields()
  • AcDbObject::dxfOutFields()

In addition, if the following functions are implemented, they must be implemented according to the listed guidelines:

  • AcDbObject::subDeepClone() This function must correctly participate in the deep cloning process without necessarily overriding the default behavior in dwgOutFields()/dwgInFields() or this member.
  • AcDbObject::subWblockClone() Your application must survive wblockClone() operations such as WBLOCK, REFEDIT, and COPYCLIP intact, without necessarily overriding the default behavior.

Overriding the following functions is optional but suggested:

  • AcDbEntity::subExplode()
  • AcDbObject::subTransformBy()
  • AcDbObject::applyPartialUndo()

Was this information helpful?