Skip to main content

AddScaledDXFEx

Description​

Use the AddScaledDXF method to add a new drawing to the TsgCADImage object. You can set AName as a name of the added object, the Apos position value (in AutoCAD coordinates) and the AScale scale value. Also, the Rotation parameter is a rotation angle. This method returns added ACADFile as a member of the TsgDXFInsert class object: TsgDXFInsert.FBlock.Xref.

ParameterTypeDescription
ACADFileTObjectA CAD drawing as the TsgCADImage object.
ANameStringA name of the TsgCADImage object
APosTFPointAn insert point.
AScaleTFPointA scale factor for OX, OY and OZ axis.
RotationSingleA rotation angle.

Syntax​

function AddScaledDXFEx(ACADFile: TObject; AName: string; APos, AScale: TFPoint; Rotation: Single): TsgDXFInsert;