diff --git a/README.md b/README.md index 1bb93dc4..ab35110b 100644 --- a/README.md +++ b/README.md @@ -644,6 +644,8 @@ If you use them for an output related to the PCB these values will be obtained f If you need to force the origin of the data you can use **%bX** for the PCB and **%sX** for the schematic, where **X** is the pattern to expand. +You can also use text variables (introduced in KiCad 6). To expand a text variable use `${VARIABLE}`. + #### Default *dir* option The default `dir` value for any output is `.`. You can change it here. @@ -678,6 +680,8 @@ Note that the command line option has precedence over it. Expansion patterns are applied to this value, but you should avoid using patterns that expand according to the context, i.e. **%c**, **%d**, **%f**, **%F**, **%p** and **%r**. The behavior of these patterns isn't fully defined in this case and the results may change in the future. +You can also use text variables (introduced in KiCad 6). To expand a text variable use `${VARIABLE}`. + #### Date format option * The **%d**, **%sd** and **%bd** patterns use the date and time from the PCB and schematic. diff --git a/docs/README.in b/docs/README.in index 6f03cbd9..2e1048d1 100644 --- a/docs/README.in +++ b/docs/README.in @@ -416,6 +416,8 @@ If you use them for an output related to the PCB these values will be obtained f If you need to force the origin of the data you can use **%bX** for the PCB and **%sX** for the schematic, where **X** is the pattern to expand. +You can also use text variables (introduced in KiCad 6). To expand a text variable use `${VARIABLE}`. + #### Default *dir* option The default `dir` value for any output is `.`. You can change it here. @@ -450,6 +452,8 @@ Note that the command line option has precedence over it. Expansion patterns are applied to this value, but you should avoid using patterns that expand according to the context, i.e. **%c**, **%d**, **%f**, **%F**, **%p** and **%r**. The behavior of these patterns isn't fully defined in this case and the results may change in the future. +You can also use text variables (introduced in KiCad 6). To expand a text variable use `${VARIABLE}`. + #### Date format option * The **%d**, **%sd** and **%bd** patterns use the date and time from the PCB and schematic.