pdaXsectionGridToLayer

Structure

This element does not have attributes. The elements are shown below, in a sorted per type fashion.
In case a list is printed after an element, it indicates that you can have many, otherwise it should be a single element. With a optional it tells the element is not required.

<pdaXsectionGridToLayer> ...
  <
layer> ... </layer>   list
  <map> ... </map>   list
</pdaXsectionGridToLayer>

XSD

The schema file can be downloaded or viewed at xPDK_Base.

Details

layer

layer. It will use colors from the xsection and may have a name, however you can not use it in derived layers or DRC without giving it a name. Without name is therefore mostly handy for simple definitions. Type pdaGDSlayer documentation: etc. In addition to the basic layer info, there is typical design rule definitions (min/max width, space etc) and derived layers (grow, size, not, xor, ...).
For creating design kits the user interface aspects are mostly optional so you you should think about suitable defaults for colors, visibility and display styles in case the preferred values are not set by the foundry. In such cases you can probably edit the respective file(s) and extend the design kit with those values in alignment with the foundry. This will enrich the design kit while making it more likely to display consistently in different software.

Basic definition

full file

<layer name="layer1">
   <gds_number>1</gds_number>
   <gds_datatype>0</gds_datatype>
   <grid>0.001</grid>
   <purpose>Waveguide layer</purpose>
   <color R="10" G="20" B="30"/>
   <visible>true</visible>
   <fillstyle>NOFILL</fillstyle>
   <linestyle>fill</linestyle>
   <extend>
    <!-- Show extension -->
    <myprop>1</myprop>
   </extend>
</layer>

map

defined (gds) layer. Type pdaXsectionGridToLayerItem documentation: is handled in this section where many map's can be defined.
Each mapping adds a possibly modified copy using the widening or lengthening of the data to the respective gdslayer.