Creating/Modifying a Table  

This task shows you how to create and edit a table by adding text, inserting columns and/or rows, merging cells, inverting lines and/or columns, switching lines and columns, and inserting views. You can also split a table, import a table, and insert a view in a table.

Choose a task:



Creating a table

Create a new sheet and a new view.
  1. On the Annotations toolbar, click Table .

  2. Click a point in the drawing to specify the table position.

    Tables cannot be associative. Selecting an element in the drawing does not make the table associative to this element.
  3. In the Table Editor dialog box that appears, enter the number of columns and rows you want for the table.


    • The line height corresponds to the height of a string.
    • The line width corresponds to 5 times the height of a string.
  4. Click OK to validate the table creation.


Editing and modifying a table

Create a table as explained earlier in this task.
  1. Select the table and drag it to another position.

  2. Double-click the table to switch it to edition mode.

    You cannot move a table while it is in edition mode.

    While in edition mode, you can:

    • Select a column by clicking above the column when the symbol appears.

    • Select a line by clicking on the left-hand side of the row when the symbol appears.

    • Leave edition mode by clicking outside the table.

  3. To access the general contextual menu, right-click the corner of the frame around the table.

    This contextual menu allows you to:

    • invert columns.

    • invert rows.

    • turn rows into columns and columns into rows.

    • fit the text in the cells by automatically defining the optimal cell size.

    • extend the table by adding columns and/or rows to it.

  4. Choose Invert rows in the contextual menu. Rows are inverted, i.e., the last row becomes the first one, the first row becomes the last one, etc.

  5. Choose Invert Columns in the contextual menu. Columns are inverted.

  6. Select Invert Columns / Rows in the contextual menu. Rows and Columns are inverted:

  7. Right-click a column or row to access the related contextual menu, which lets you:

    • Insert a column/row.

    • Delete a column/row.

    • Clear the content of a column/row.

    • Modify the size of a column/row by either:

      •  setting a new size for the column/row.

      • "autofitting" the size (the optimal cell size is automatically defined in order for text to fit in it).

    The size of a column or row and the text properties depends on the insertion point in the table. If you insert a column/row:
    • in the middle of a table, the size and text properties are the same as the preceding column/row.
    • at the beginning of the table, the size is the same as the first column/row and the text properties are the same as the current text style.
  8. Right-click two cells and choose Merge.

    You cannot merge a cell that has already been merged.
  9. Select the new cell formed by the two cells you have merged and choose Unmerge to split them in two cells again.

  10. Double-click on the text of a cell. The Text Editor dialog box appears: modify the text and click OK to validate.

  11. To choose vertical and horizontal text alignment, use the Anchor point tool . Align the text of a cell on the right using .

  12. Right-click a cell, and select Properties from the contextual menu. The properties available are the same as those available for texts. Refer to Editing Text Properties for more information.

  13. On the Font tab, specify a color, red for example, and click OK. The text in the selected cell is now red.

    When editing cell properties, note that a number of properties do not apply to the selected cell, but to the table and all its cells.
    • On the Text tab:
      • X and Y position
      • (Orientation) Reference
      • Orientation
      • Blank Background
    • On the Graphic tab (Lines and Curves section):
      • Color
      • Linetype
      • Thickness



Splitting a table

Open the Split_tables.CATDrawing document. It contains a table that you will split into several tables.


  1. Right-click the table and choose Split Table. The Table Split dialog box appears.

    It contains the following options:

    • Max. number of rows: if you want to split the table so that each new table contains a maximum number of rows, select this option and enter the wanted number of rows in the associated field.

    • Max. height: if you want to split the table so that each new table has a maximum height, select this option and enter the wanted height in the associated field.

    • Vertical: check this option to create the new tables one below the other.

    • Horizontal: check this option to position the new tables one next to the other.

    • Distance: indicate the distance you want between each new table.

    • Duplicate first row: check this option if you want to duplicate the first row in each new table.

  2. Select Max. number of rows, and enter 5 in the corresponding field.

  3. Select Vertical.

  4. In the Distance field, type 5 mm.

  5. Select Duplicate first line.

  6. Click OK. The table is split into several tables, according to the criteria you specified.


Importing a table  

You can import a table in a drawing (of the .csv type only).
To perform this scenario, you must have a .csv file at your disposal.
Note that this functionality is based on system options. Indeed, in a CSV (Comma Separated
Values) file, each line corresponds to a line in the table; within a given line, each cell is separated by a specific character that depends on the decimal separator specified in the system options.

This decimal separator determines the character that will be interpreted as the cell separator:

  • if the decimal separator is a dot, then the comma (,) is used as the column separator.
  • if the decimal separator is a comma, then the semi-column is used as the column separator.
  1. Click Import Table and select the table you want to import.

  2. Click Open. The table is imported into the drawing.


Inserting a view a in table

Open the GenDrafting_part.CATDrawing file. Create a table in the front view.

  1. Double-click the table to switch it to edition mode.

  2. Right-click the cell you want to fill. Select Insert view.


    The command "Insert view" is not available with 2D Layout for 3D Design workbench.
  3. Choose the view you want to insert by clicking the view in the drawing or in the tree.

    • You cannot select the view containing the table,
    • The view must be in the same drawing.
    • If you modify the 3D part and update the drawing, the view in the table will be updated as well.

    Choose the Top view:

    The top view is inserted in the table, and it is resized so as to fit the cell. You can resize the cell if you want to enlarge the view in the table.