Tables

Commands: TABLE, -TABLE, TABLEDIT, TABLEEXPORT, TABLEMOD, TABLESTYLE

A table is an entity that is composed of rows and columns, much like a Microsoft Excel spreadsheet. A table entity can be created as an empty table or you can import data from a CSV (Comma Separated Values) file. The appearance of the table text and gridlines is controlled with a table style. Table styles are saved in the DWG file.

A default table consists of a Title cell (A), a row of Header cells (B) and one or more rows of Data cells (C).

A table can have one of two directions: Down (title row at the top) or Up (title row at the bottom).

 

 

Table with a Down direction (left) and a Up direction (right).

To create an empty table

  1. Do one of the following:

  2. Click the Table tool button () on the Draw 2D toolbar.

  3. Choose Insert Table... in the Draw menu.

  4. Type table in the command bar, then press Enter.

The Insert Table dialog displays:

  1. Choose a Table Style from the Table Style list.

  2. (option) Set the cell style for the first, second and other rows.
    By default the cell style for the first row is Title, the cell style for the second row is Header and the cell style for the other rows is Data.

  3. Under Table Options, choose Start from Empty Table.

  4. Under Insertion Behavior do one of the following:

  5. Choose Specify Insertion Point, then specify the number of columns and  the column width and number of data rows and the row height.

  6. Choose Specify Window, then do one of the following:

  1. Click the OK button.
    Depending on your choice in step 5 you are prompted to specify an insertion point or a window.
    The table is created and the Text Formatting toolbar displays (see Create multiline text).

  2. Do one of the following:

  3. Start adding text in the table  (see Edit the table content).

  4. Click outside the table to close the Text Formatting toolbar.

To create a table from data

When importing data from a CSV (Comma Separated Values) file, please make sure the list separator character on your system is the same as the one used in the CSV file (see Defining the list separator character).

  1. Do one of the following:

  2. Click the Table tool button () on the Draw 2D toolbar.

  3. Choose Insert Table... in the Draw menu.

  4. Type table in the command bar, then press Enter.

The Insert Table dialog displays.

  1. Choose a Table Style from the Table Style list.

  2. Under Table Options, choose From Data.

  3. Click the Browse button ().
    The Open dialog displays.

  4. Choose a CSV file, then press the Open button.

  5. Click the OK button on the Insert Table dialog.
    The dialog box closes and the table is attached to the cursor.

  6. Click a point in the drawing to place the table.
    The table is created and the Text Formatting toolbar displays (see Create multiline text).

  7. Do one of the following:

  8. Start editing the text in the table (see Edit the table content).

  9. Click outside the table to close the Text Formatting toolbar.

  1. (option) Select the table and drag the grips to adjust the dimensions of the table.

Editing a table using grips

When a table is selected, multiple grips display:

  1. Moves the table.

  2. Modifies the width uniformly.

  3. Modifies the height uniformly.

  4. Modifies the width and height uniformly.

  5. Modifies the width of a column.

Editing a table using the Table toolbar

  1. To open the Table toolbar, do one of the following:

  2. Click the cell you want to edit.

  3. Press and hold the left mouse button then define a rectangle to select multiple cells

Column letters and row numbers display.
The column(s) and row(s) of the selection hightlight.

A rectangle with four handles is drawn around the selection.

  1. Do one of the following:

  1. (option) Drag the grips of the selection to modify the dimensions.

  2. (option) Click a tool in the Table toolbar.

  3. (option) Right click to display a context menu:

  4. Delete Cell Content: deletes the text in the selected cells.

  5. Clear Cell Overrides: resets all cell properties of the selected cells to the Cell Style settings as defined in the Table Style.

  6. Clear Table Overrides: resets all cell properties of all cells to the Cell Style settings as defined in the Table Style.

Table tools

Icon

Tool name

Description

Insert row above

Inserts an empty row above the selection.

Insert row below

Inserts an empty row below the selection.

Delete row

Deletes the row(s) of the selection.

Insert column left

Inserts an empty column at the left of the selection.

Insert column right

Inserts an empty column at the right of the selection.

Delete column

Deletes the column(s) of the selection.

Merge

Merges the selected cells.

Unmerge

Splits previously merged cells.

Border style

Sets the border style of the selection (not implemented yet).

Text alignment

Sets the text alignment of the selection.

Lock / Unlock

Locks / Unlocks the selection.

Set cell format

Sets the cell format of the selection (not implemented yet)

Set cell style

Sets the style of the selected cells: Title, Header or Data.

Set cell background

Sets the background color of the selection.

  1. (option) Repeat steps 3 and 4 to continue editing the table.

  2. (option) Double click a cell to edit the cell text.

  3. (option) Do one of the following:

  4. Click another cell.

  5. Press and hold the left mouse button, then drag the cursor to select multiple cells.

  1. Click outside the table to close the Table toolbar.

Editing a table in the Properties bar

  1. Click one of the grid lines.

The properties of the table display in the Properties bar.

  1. (option) Apply a different Table style.

  2. (option) Change the table direction.

  3. (option) Modify the width and/or height of the table.

  4. (option) Modify the vertical and/or horizontal cell margins.

  5. Press the Esc key to stop editing the table.

Editing a cell in the Properties bar

  1. Click the cell.

The properties of the cell display in the Properties bar.

  1. (option) Modify the width and/or height of the cell.
    The width and height of the column and/or row of the cell are changed.

  2. (option) Modify the text rotation.
    The options are: 0°, 90°, 180° and 270°.

  3. (option) Edit the cell content.

  4. (option) Choose a different text alignment option.

 

To edit the table content

  1. Do one of the following:

  2. Double click the cell you want to edit.

  3. Type tabledit in the command bar, then press Enter and click the cell you want to edit.

The Text Formatting toolbar displays above the selected cell (see Create multiline text).

  1. Edit the text in the cell.
    (option) Press Alt + Enter to create a second line in the same cell.

  2. To edit another cell:

  3. Press the TAB key to go to the next cell in the same row.

  4. Press Shift + TAB to go to the previous cell in the same row.

  5. Press Enter to go the next cell in the same column.

  6. Press Shift + Enter to go to the previous cell in the same column.

  7. Press one of the Arrow keys.

  1. Click to stop editing the table content.

To export a table

When exporting data to a CSV (Comma Separated Values) file, the list separator character off your system is used in the CSV file (see Defining the list separator character).

  1. Type tableexport in the command bar, then press Enter.
    The command bar reads: Select table to export:

  2. Click the table you want to export the data of.
    The Export Data dialog opens.

  3. Select a folder to save the data in.

  4. Type a name in the File name field.

  5. Click the Save button.
    The data in the selected table are saved as a CSV (Comma Separated Values) file.

Defining the list separator character

  1. Click the Start button in the Windows Taskbar, then choose Control Panel.

  2. Do one of the following:

  3. On the Control Panel Home window, choose: Clock, Language and Region > Regional and Language Options.

  4. On the Control Panel Classic View window, double click the Regional and Language Options icon.

The Regional and Language Options dialog box displays.

  1. On the Regional and Language Options dialog box click the Customize this format... button.

The Customize Regional Options dialog box displays:

 

  1. On the Numbers page of the Customize Regional Options dialog box, go to List separator, then click the down arrow and select either comma (,) or semicolon (;).

  2. Click the OK button on the Customize Regional Options and Regional and Language Options dialog boxes.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


© Menhirs NV. All rights reserved.