Online-help

Extracting data from attributes

Extracting data from attributes

Extracting data from attributes

MouseOK    Ribbon: Insert – Block >  Attribute Extraction

KeyboardOK Command line: ATTEXT

The command allows you to extract data from attributes and save them in a text file, which then can be transferred into any database management system. This allows you to create easily different reports and specifications by using directly the data from a drawing. For example, if in the facilities layout plan each unit of equipment represents a block with attributive information, which specifies name, manufacturer, price, etc., it is easy to create reports with the number of equipment, total price of equipment and others.

After started, the command opens the Attribute extraction dialog box

Options:

File format

Comma-delimited format (CDF)

Turns on the mode for saving the data extracted from attributes into a *.cdf file (Comma Delimited Format), containing one record for each block reference in a drawing. Record fields are separated by commas. Character fields are taken in single quotation marks (apostrophes).

When extracting data from attributes in *.cdf format, it is necessary to specify the template file. The template file should contain at least one attribute name.

Space-delimited format (SDF)

Turns on the mode for saving the data extracted from attributes into a *.sdf file, containing one record for each block reference. Fields of each record have a fixed length, therefore, they require neither record separators, nor character-string delimiters.

When extracting data from attributes in *.sdf format, it is necessary to specify the template file. The template file should contain at least one attribute name.

Drawing interchnage format DXF (DXX)

Turns on the mode for saving the data extracted from attributes into a *.dxx file (subset of a standard drawing interchange file format *.dxf), containing only descriptions of block references and attribute values. The file extension .dxx distinguishes an extraction file from normal *.dxf files.

When extracting data from attributes in *.dxx format, it is not required to specify the template file.

Buttons

The button for temporary closure of the dialog box to select blocks with attributes in the drawing.

After clicking ENTER to finish the selection of objects, the Attribute extraction dialog box is displayed again.

Number:

Displays the number of selected objects.

The button opens a standard dialog box for selecting files to specify the name and location of a template file in the format of which the data extracted from attributes will be recorded.

By default template files have .txt extension.

The path and name of the selected file are entered or displayed in the field right to the button.

When the Drawing interchange format DXF (DXX) option is specified, the Template file button and text field to the right are enabled.

The button opens a standard dialog box for selecting files to specify the name and location of the file into which the data extracted from attributes will be recorded.

By default .txt. extension of the file name is added to CDF and SDF files, and .dxx extension is added to DXF files.

The path and name of the selected file are entered or displayed in the field right to the button.

Info: NanoCAD is an easy-to-use, cheap, and yet powerful, CAD application for personal computer, that delivers an outstanding user experience by providing high performance, full capability, a classic interface and native.dwg format support. nanoCAD has been built to deliver design and project documentation for all industrial purposes. nanoCAD includes a full suite of basic and advanced CAD tools for 2D/3D design and creating industry-standard DWG-compatible CAD files. Our program ensures groundbreaking, collaborative and customizable features to enhance your efficiency, and includes a few API's, allowing anything from routine task automation to complex CAD app development. You may try nanoCad for free, using the links below, and buy later, in case you like it.
We collect Cookies
We use cookies to ensure that we give you the best experience on our website. By clicking “Accept”, you agree to our website’s cookie use as described in our Privacy Statement.