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.
| Parameter | Type | Description |
|---|---|---|
ACADFile | TObject | A CAD drawing as the TsgCADImage object. |
AName | String | A name of the TsgCADImage object |
APos | TFPoint | An insert point. |
AScale | TFPoint | A scale factor for OX, OY and OZ axis. |
Rotation | Single | A rotation angle. |
Syntax
function AddScaledDXFEx(ACADFile: TObject; AName: string; APos, AScale: TFPoint; Rotation: Single): TsgDXFInsert;