Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

AnchorRary90305PRary90305P Image Modified
A block attribute is AutoCAD- informational text associated with a block, that you can enter whenever you insert a block. TurboCAD reads and displays block attributes from AutoCAD drawings (DWG) and DXF files.

  1. Create the objects that comprise the blocks.
    Image Modified
    (You can also add a block attribute after a block has been created, in Edit mode. This is done the same way as adding another geometric object. See Editing a Block.)
  2. Select Block Attribute Definition. Select the start point for the text, preferably on or near the block objects.
  3. Type the "ta AnchorXary95789Xary95789gtag" name for the block attribute, such as "COST." This name is used to uniquely identify the attribute within the block, since more than one attribute can be created. If the drawing will be sent to AutoCAD, do not use spaces (use underscores instead).
    Image Modified

    Note: This tool works like the text tool, in terms of alignment and local menu options. See Inserting Text.
  4. Enter the prompt and default value in the Inspector Bar, or you can enter these properties later. For example, the Pro AnchorXary95790Xary95790mptPrompt can be "How much does it cost?" and Default can be $0.00.
    Image Modified
  5. Press Enter to finish the definition. You can create multiple attributes, such as Part Number, Owner, etc.

Once the block attribute is created, you can open its Properties to add or change the Tag, Prompt and Default values, as well as Mode.
Image Removed
Mo AnchorXary95795Xary95795deImage Added

Mode: Affects how the dialog appears when the block is inserted:

Invi AnchorXary95803Xary95803sibleInvisible: The text of the block attribute is not displayed in the drawing. You can see the information in the Selection Info Palette or edit it by displaying the block's properties.

...

Warning: When you explode a block containing invisible block attributes, the information is lost.

...

Const AnchorXary95804Xary95804antConstant: The attribute value is fixed and unchangeable. It is shown to you during block insertion. Exploding the block will turn the block attribute into text that can then be edited.

Ver AnchorXary95805Xary95805ifyVerify: Prompts you to verify that the attribute value is correct when you insert the block. In AutoCAD, the attribute value is shown for your verification during block insertion if the AutoCAD variable ATTDIA is set to 0. This flag has no effect in TurboCAD as it takes place in AutoCAD when the variable ATTDIA is set to 1.

Pr AnchorXary95806Xary95806esetPreset: Sets the attribute to its default value when you insert a block containing a preset attribute. In AutoCAD, you are not prompted for a value if the AutoCAD variable ATTDIA is set to 0. This flag has no effect in TurboCAD as it takes place in AutoCAD when the variable ATTDIA is set to 1.

When the block attributes are defined, simply include them in the selection of objects that will make up the new block.

Image Modified

...

Setting

...

Block

...

Attributes

...

When you insert a block that has one or more attributes, a window will appear that gives the prompt and offers the default value. For example, the prompt says "What does it cost?" the default value is $0.00. The value can be changed to another value, in this case, $3.50.
Image Modified
For multiple attributes, use the Next and Previous buttons to set values for all of them.
When the block is inserted, the value is included with the objects.
Image Modified
When a block has attributes defined, its Properties will contain an additional page - Block Attribute. You can edit each attribute value in this window, using the Next and Previous buttons to scroll through multiple attributes.
Image Modified

...

Sync Attributes

Sometimes it is necessary to add attributes to blocks after many instances of the blocks have already been inserted into the drawing. In this case the new attributes are not automatically added to the prior insertions. The Sync Attributes button will add the new attributes to the older blocks.
Image Modified
The values for these newly synced attributes within the older blocks will be the default value you assign to the attribute when you create it .

...

AnchorRary96156PRary96156Pand it will blank if no value is assigned. For blank attributes you will have to select the existing blocks and assign values to those attributes.

Extracting Block Attributes

If you attach attributes to blocks, you can extract these attributes and display them in a table. You can also export the attributes to a report in an external file.

...

Note: If you want to create a schedule for architectural elements in your file (walls, slabs, windows, or doors), without defining block attributes, see Schedule Styles.

...

This example has three blocks used to mark windows, doors, and slabs.
Image Modified
Here are the three blocks in the Blocks Palette.
Image Modified

  1. Select Extract Attributes. In this window you can select the blocks and attributes that will be included in the schedule or report.
    Image Modified

    Note: You can re-order a a column by dragging its header to the new location.
    Scan Entire Drawing: Attributes will be extracted from all paper spaces and model space.

    Scan Model Space: Attributes will only be extracted from model space.

    Scan Current Space: Attributes will be extracted from the current model space or paper space.

    Scan Selected Entities: Attributes will be extracted only from currently selected objects.

    Scan Groups: If any groups contain blocks, these blocks will be scanned for attributes.

    Scan Nested Block: If blocks contain nested blocks, these nested blocks will be scanned for attributes.

    Include Xrefs: The content of Xrefs will also be scanned.
    The Blocks list contains all blocks that have attribute definitions. The Properties list all attributes found for the blocks checked in the Blocks list.

    Show Summary List: The Properties list contains all attributes for all blocks checked in the Blocks list.

    Show Selected Block Properties: The Properties list contains attributes only for the block that is currently checked in the Blocks list.

    Show Visible Properties Only: If selected only attributes that are visible will be shown.
  2. You can select attributes for each block that will be included. For example, click Show Selected Block Properties at the bottom, and select the "Door Mark" block. Check only the "COST" and "TYPE" attributes.
    Image Modified
  3. Select the "Room" block and check "AREA," "COST," and "TYPE."
    Image Modified
  4. Select the "Window Mark" block and check "COST" and "TYPE."
    Image Modified
    You can right-click on any field under Blocks or Properties to get a popup menu in which you can check or uncheck all, or change the display name.
    Image Modified
  5. When the blocks and properties are defined, click Next.
    Image Modified
    TurboCAD scans the file, and the Preview window displays the results.
    Image Modified
    If TurboCAD Table is checked, the report will be inserted into the file. If you want to export the results, click External File.
    You can click on any column header to change the sorting order, or hide or rename a column.
    Image Modified
  6. Click Finish. If the table is to be inserted into TurboCAD, you will see the Insert Table window. Here you can define the column and row sizes.
    Image Modified
  7. Click OK, and then click where you want to place the table.
    Image Modified
    You can make changes to the table formatting in the Selection Info palette.