powered by CADENAS

Manual

Manual

2.1.1.3. Mode: "Simple" or "Expanded"

For some keys there are two modes possible for the display of key values.

When you right-click on a value name Expand or Simplify is displayed. With these two commands you can switch between the modes.

  • Simple

    If both modes are possible the default is the simple mode.

    The advantage in this mode is to only display relevant, changeable sections of the key.

    This way you can define single values such as file extension or a variable.

    Mode: simple

    Mode: simple

    Example:

    • <GENNAME><MATERIAL(_)>

      If the material shall not be displayed delete <MATERIAL(_)>.

    • .ipt

      The file extension should be correctly displayed by default, if not it can be changed here easily.

  • Complex

    Often specific parameters are embedded in complex VB expressions so that very complex changes and adjustments can be made. However therefor exact knowledge of the Syntax is necessary. For such changes use the expanded mode.

    Mode: expanded

    Mode: expanded

    Example:

    ?GetObject("iface.calcnameservice").start(0).Format("<GENNAME><MATERIAL(_)>")
    .toFileName("_").add(".ipt").value()

    Here the file extension could be adjusted, for the file name allowed characters could be defined, upper-case characters could be changed into lower-case characters. You can find detailed information under Section 2.2.1.4, “Variable values - functions ”.