powered by CADENAS

Manual

Manual

4.11.3.8. [ELEMENT_table] Table

Places a table element into sketch view.

4 views, frame, text, table

4 views, frame, text, table

The "Table" element is declared with "ELEMENT_" followed by a unique identification for the element.

Example:

[ELEMENT_table1]

The following attributes are available:

  • type=table

    Declares element type and is mandatory.

  • parent (obligatory)

    As parent only "frame" needs to be considered.

  • position_x

    Indicates x coordinate.

  • position_y

    Indicates y coordinate.

  • position_w

    Indicates width of box.

  • position_h

    Indicates height of box.

  • tablename

    Currently this entry is not yet necessary.

  • text_size

    Concerns the text in the table cells. Compare Section 4.11.3.7, “[ELEMENT_text] Text ”.

  • width_factor

    Concerns the text in the table cells. Compare Section 4.11.3.7, “[ELEMENT_text] Text ”.

  • sizeable

    Indicates whether size or position may be changed in Edit mode.

  • Declaration of columns

    • columns

      The value of the key "column" is to be given as follows:

      $2D_NR.=column width , $LINA.=column width , $2D_AMOUNT.=column width

      The indication of the column width occurs in percent. The percent symbol is not to be given.

      You may use other variables.

      Example of a BOM table with declaration of Position number:

      columns=$STKPOS.=10,$STKANZ.=10,$LINA.=120,$STKZCHN.=80

      The single variables:

      • $STKPOS. - Position number

      • $STKANZ. - Amount

      • $LINA. - BOM name

      • $STKZCHN. - Article number

      Detailed information on creation of position numbers can be found under Section 4.10.6, “Part-Annotation”.

    • column names

      Declaration of column names

      List all column names separated by a comma.

      Example:

      columnames=Pos.,Anz.,Bezeichnung,Zeich / Artikel Nr.

      Example: Excerpt o the BOM table from a combination view

      Example: Excerpt o the BOM table from a combination view

  • use_ratio

  • align

    Value range: top (alternatively no entry) | bottom

    The specifications are important if the space indicated under "position_w" and "position_h" is larger than needed.

Example:

[ELEMENT_table1]
type=table
parent=frame
position_x=55.80
position_y=69.53
position_w=145.92
position_h=104.97
tablename=BOM
text_size=2
width_factor=0.5
sizeable=true
columns=$2D_NR.=10,$LINA.=80,$2D_AMOUNT.=10
columnames=Nummer,LINA,Anzahl
use_ratio=true
align=bottom