Share

AcDbDxfFiler::writeUInt16

C++

virtual Acad::ErrorStatus writeUInt16(
    AcDb::DxfCode code, 
    Adesk::UInt16 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.
See the AcDbDxfFiler DXF Group Codes section for information on which DXF group codes are valid for 16-bit integers (DXF group codes make no distinction between signed and unsigned integers).
  • Write out val.
  • Return an Acad::ErrorStatus value indicating the success or failure of the operation (use Acad::eOk to indicate success).

Parameters

Parameters Description
unnamed1 DXF group code to be written out
unnamed2 16-bit unsigned int to be written out

Links

AcDbDxfFiler

Was this information helpful?