Applying a Layer Map

A layer map is a CSV file containing several lines (rows). Each row contains the following data, organized in comma-separated columns:

input_layer,output_layer,comment,color,visibility,elevation,material,extrude,stack,thickness

The CSV file doesn't have a header row.

The columns are as follows:

  1. input_layer (string): layer name or number of imported file format.
  2. output_layer (string): layer name or number of exported file format.
  3. comment (string): comment to apply to exported layer (*).
  4. color (color): color to apply to exported layer (*).
  5. visibility (bool): selects if layer will be exported
  6. elevation (real [pm]): location of bottom z-value of exported layer (*)
  7. material (integer): number identifying the layer material (*)
  8. extrude (bool): selects if layer is extruded or not (*)
  9. stack (bool): selects if layer stacked above layer below. Mutually exclusive with specifying elevation.
  10. thickness (real [pm]): layer thickness

The data types are:

Note that elevation and thickness are always expressed in picometers [pm].

The layer can be either loaded in the GUI, or from the command line, as follows:

-LcApplyLayerMap=true -LcLayerMap=“LayerMap.csv”

Example layer map:

1,,,Blue,true,,,false,true,10000000000
2,,,Yellow,true,,,false,true,5000000000
3,,,Magenta,true,,,false,true,5000000000
4,,,Cyan,true,,,false,true,5000000000
5,,,#ffc00,true,,,false,true,5000000000
6,,,#ff00c,true,,,false,true,10000000000