Exporting BlockAttribute Values Including Block Positions
The BlockAttributePositionOutput command lets you save BlockAttribute values of specified Blocks including the Block positions to text files to examine and evaluate the data using spreadsheet software or other applications.
The command is similar to the BlockAttributeOutput command, but unlike this command the XYZ coordinates of the Block insertion points in the drawing are included in the output.
The exported file is a tab delimited text file.
The output file contains these columns:
- Block handle column, which contains the unique identifiers of the Block entities in the drawing
- Block name column
- Separate columns for the X, Y, and Z coordinates
- Columns for each BlockAttribute definition in the specified Blocks
The first row contains column headers including the BlockAttribute definition names.
To export BlockAttribute values including Block positions:
- Type BlockAttributePositionOutput at the command prompt.
- In the graphics area, select Blocks with BlockAttributes.
It is recommended to select Blocks using the same kind of BlockAttribute structure.
- Press Enter.
- In the Output file dialog box, specify the location and file name of the .txt file.
- Click Save.
Command: BlockAttributePositionOutput