Share

AcDbDxfFiler::writeObjectId

C++

virtual Acad::ErrorStatus writeObjectId(
    AcDb::DxfCode code, 
    const AcDbObjectId& id
) = 0;

Description

The implementation of this function should follow that of the ObjectARX internal filers. It should:

  • Check the current filer status. If it's Acad::eOk, then continue, or else return the current status.
  • Write out the AcDb::DxfCode in code.
See the AcDbDxfFiler DXF Group Codes section for information on which DXF group codes are valid for objectIds.
  • Write out the long within val.
  • Return an Acad::ErrorStatus value indicating the success or failure of the operation (use Acad::eOk to indicate success).
Note

When filing to a DXF file, the objectId is converted to the handle of the object with that objectId and then filed out as the 16 character (maximum) hexadecimal string representation of that handle. When filing to AutoLISP or ADSRX, the objectId is translated into an entity-name or ads_name.

Parameters

Parameters Description
unnamed1 DXF group code to be written out
unnamed2 ObjectId to be written out

Links

AcDbDxfFiler

Was this information helpful?