Share

AcDbDxfFiler::writeAcDbHandle

C++

virtual Acad::ErrorStatus writeAcDbHandle(
    AcDb::DxfCode code, 
    const AcDbHandle& val
) = 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.
The handle is written out as a string. See the AcDbDxfFiler DXF Group Codessection for information on which DXF group codes are valid for strings.
  • Write out the handle value contained in val. The value is written out as a string of hexadecimal digits (16 characters maximum, excluding the null string terminator) that is the hexadecimal representation of the 64-bit integer handle value.
  • Return an Acad::ErrorStatus value indicating the success or failure of the operation (use Acad::eOk to indicate success).
Note

When using the ObjectARX internal filers (that is, not a custom filer), this method does not do anything about platform-dependent byte order.

Parameters

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

Links

AcDbDxfFiler

Was this information helpful?