-XATTACH command
Attaches an external referenced file in the current drawing via Command line.

Method
Specify the path to a DWG file, the insertion point, the scale factor and rotation angle to insert the external referenced file in the current drawing.
Options within command
- Insertion point for block
- Specifies the insertion point in the drawing.
- Corner
- Defines the X, Y, and Z scales at the same time, using the insertion point and the selected other corner for scale.
- scale X Y Z
- Specifies the X, Y, and Z scale factors of the Xref in the X, Y, and Z directions.
- Scale
- Specifies the size of the Xref.
- X scale
- Specifies the X scale factor of the Xref in the X direction.
- Y scale
- Specifies the Y scale factor of the Xref in the Y direction.
- Z scale
- Specifies the Z scale factor of the Xref in the Z direction.
- Rotate
- Specifies the rotation angle.