powered by CADENAS


Manual Key "Material": Use input value as Fallback

The following syntax with "TranslateStringInGlobalOptionArrayDef" is an improvement.

If the material cannot be found in the [MatMap] block of the configuration file, then the input value is used as default. The old function (without „Def“) ignores the input value.


"aluminium" be the input value. If the function cannot find this value in the [MatMap] block, then the enhanced "Def" function passes "aluminium" to the CAD system. If the value is available in the material table of the CAD, it will use the value. The old function by contrast only returns an empty line.

  • Without macro


  • With macro