XAttach

Works with Bricscad (Windows) Classic and Pro, Bricscad (Linux) Classic

Attaches externally-referenced drawings through a dialog box (short for "external attach").

Accessing the Command

command bar:  xattach

alias:  xa

menu bar:  Insert | Attach XRef

 

: xattach

Displays a dialog box:

Choose a DWG file, and then click Open.

 

Bricscad displays a dialog box:

Choose options, and then click OK.

If you choose Specify On-screen, then you will be prompted in the command bar for the insertion point, scale, and/or rotation angle.

 

This command is a shortcut to using the -XRef command's Attach option.

Command Options

Option

Description

Name

Specifies the name of the attached drawing file.

If more than one DWG file has been attached to the drawing, their names are listed by the droplist:

Choosing another name lets you modify the xref's properties.

Browse

Displays the Open dialog box.

Choose a DWG file, and then click Open.

Choosing another file lets you attach a additional drawings without leaving this dialog box.

 

Path

Reports the path that will be remembered by Bricscad.

You cannot edit this field; instead, use the Browse button to modify the path to the file.

Full Path

Click the droplist to choose a different path type:

  • Full path - stores the drive and folder(s) names to the DWG file (absolute reference), such as:

c:\cad\dwg\filename.dwg

  • Relative path - stores the route to the xref'ed DWF file's folder, such as:

..\filename.dwg

This option does not work until the drawing has been saved at least once.

(..\ means one folder higher.)

  • No path - strips the drive and folder(s) names, leaving just the DWG file name, such as:

filename.dwg

 

External Reference

Specifies how the external reference is to be attached:

  • Attachment - attaches the xref and nested xrefs.

  • Overlay - attaches only the first level of xref.

 

Insertion Point

Specifies the location of the xref's lower-left corner.

Specify On-screen

Determines when the insertion point is specified:

  • On - specify the insertion point in the drawing after the dialog box is closed; you will be prompted:

Insertion point for block - pick a point or enter x,y,z coordinates.

  • Off - specify the insertion point in the dialog box using the X, Y, and Z fields.

X

Y

Z

Specifies the x,y,z coordinates for the xref's insertion point.

Use 0,0,0 to insert the xref at the drawing's origin.

 

Scale

Specifies the size of the xref.

Specify On-screen

Determines when the scale factors are specified:

  • On - specify the scale factor in the drawing after the dialog box is closed; you will be prompted:

Corner/XYZ/X scale factor - enter an option, pick two points a number, or press Enter for the default value.

Y scale factor:  < Equal to X scale> - enter an option, a number, or press Enter for the default value

  • Off - specify the scale factor in the dialog box using the X, Y, and Z fields.

X

Y

Z

Specifies the scale factors of the xref in the x, y, and z directions.

Use 1,1,1 to keep the xref at its original size.

Uniform Scale

Makes the y and z scale factors equal to that of x.

 

Rotation

Specifies the rotation angle of the xref.

Specify On-screen

Determines when the rotation angle is specified:

  • On - specify the angle in the drawing after the dialog box is closed; you will be prompted:

Rotation angle for block - enter a number, pick two points, or press Enter for the default value.

  • Off - specify the angle in the dialog box using the Angle field.

Angle

Specifies the rotation angle about the insertion point.

Positive angles rotate the xref counterclockwise.

Use 0 to keep the xref at it original orientation.

Related Commands

XRef - attaches and controls externally referenced drawings through the Drawing Explorer.

-XRef - attaches and controls xrefs through the command bar.

XClip - clips externally-referenced drawings.

Insert - inserts drawings as blocks.


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. Copyright © 2001- Menhirs NV - All rights reserved.