Share

AcDbDxfFiler::writeScale3d

C++

virtual Acad::ErrorStatus writeScale3d(
    AcDb::DxfCode code, 
    const AcGeScale3d& val, 
    int prec = kDfltPrec
) = 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 AcGeScale3d objects.
  • Write out the X, and Y doubles in val. If filing to a DXF file, file the X value out, then file out the DxfCode code+10, then file out the Y value, then file out the DxfCode code+20, and last file out the Z value.

If prec is the default of kDfltPrec (a value of -1) then the internal default precision is used. If this filing operation is for a DXFOUT command, the precision that's been set by the user executing the DXFOUT command is considered the internal default.

  • 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
unnamed2AcGeScale3d object to be written out
unnamed3 Decimal places to use when writing out the AcGeScale3d object

Links

AcDbDxfFiler

Was this information helpful?