powered by CADENAS

Manual

Manual

5.12.3.5. [ELEMENT_grid] to place several derivations

The "Grid" element defines a grid in which several standard derivations can be arranged.

Grid with 2 rows and 2 columns filled with 3 standard derivations

Grid with 2 rows and 2 columns filled with 3 standard derivations

The "Grid" element is specified as "ELEMENT_" followed by a unique identification for that element.

Example:

[ELEMENT_grid1]

The display in the dialog box Edit element is grayed out under Name.

Basic attributes
  • Type declaration

    • type = grid (type)

      Declares element type and is mandatory.

  • Grid distribution

    • columns (Columns)

      Defines the number of columns in the grid. In the image above, 2 columns.

    • rows (Rows)

      Defines the number of rows in the grid. In the image above, 2 rows.

  • Cell spaces:

    • padding_y (Padding Y)

      Defines the space between the individual derivations in the y plane (see red marking in above image)

    • padding_x (Padding X)

      Defines the space between the individual derivations in the x plane (see red marking in above image)

    • padding_unit (Padding Unit)

      Defines the unit in which the space is given. Currently only possible in PERCENT (based on box width).

  • Derivations used

    • order (Views)

      Value range: top | bottom | front | iso | none

      Comma separated specification

      Indicates Standard derivations (continuing beginning at left bottom until top right.

      The figure shows the counting of positions (here top, none, front, left)

      The figure shows the counting of positions (here top, none, front, left)

  • align (Alignment)

    Value range: center | origin

    • center: Alignment based on the center point for part.

    • origin: Alignment based on 0 point of part.

    However, for a lot of parts, this is the same point.

  • parent (Parent) - Parent element (optionally)

    If a parent is assigned, the grid aligns its width/height according to its parent. Without parent element, the grid takes up the entire space.

    Following parent elements are possible:

    "grid" without parent element

    "grid" without parent element

    If no box is being used as parent, the entire available space is used. The size of the grid CANNOT be changed in Edit mode.

    "grid" with parent element "box"

    "grid" with parent element "box"

    If a box is used (on this see Section 5.12.3.6, “[ELEMENT_box] as wildcard element ”), it can be selected in Edit mode and the size maybe changed.

    Configuration:

    [Template]
    name=grid_ohne_box
    unitbase=mm
    
    [Description]
    default=Grid without box
    german=Grid ohne Box
    english=Grid without box
    
    [ELEMENT_grid1]
    type=grid
    padding_x=10
    padding_y=10
    padding_unit=percent
    columns=2
    rows=2
    order=top,none,front,left

    Configuration:

    [Template]
    name=grid_mit_box
    unitbase=mm
    
    [Description]
    default=Grid with box
    german=Grid mit Box
    english=Grid with box
    
    [ELEMENT_box1]
    type=box
    align=center
    position_x=20
    position_y=20
    position_w=230
    position_h=245
    
    [ELEMENT_grid1]
    type=grid
    parent=box1
    padding_x=10
    padding_y=10
    padding_unit=percent
    columns=2
    rows=2
    order=top,none,front,left

Title Item and Ratio Item - Title and Ratio information (optionally)
[Note] Note

Title Item and Ratio Item are of the type "text".

Optionally, with the help of a text element a title or a ratio information can be added. Details on text element are found under Section 5.12.3.8, “[ELEMENT_text] Text ”.

  • title (Title Item)

    With "title" you can add a title.

    In the dw file, enter the corresponding text element as key value, or in the dialog Edit element select the desired text element in the list field.

  • ratio_title (Ratio Item)

    With "ratio_title" you can add a ratio information.

    In the dw file, enter the corresponding text element as key value, or in the dialog Edit element select the desired text element in the list field.

  • title_show (Show title)

    Value range: true / false

    In order for the title to be displayed, "title_show" has to be set on "true".

  • ratio_title_show (Show ratio)

    Value range: true / false

    In order for the ration information to be displayed, "ratio_title_show" has to be set on "true".

  • use_ratio (Use ratio)

Example: Corresponding keys in dw file

title=isotitle
ratio_title=isotitleratio
title_show=true
ratio_title_show=true
use_ratio=false