PCB_Variant_Options parameters

  • output : [string] (default: '%f-%i%I%v.%x') Filename for the output (%i=variant, %x=kicad_pcb). Affected by global options.

  • copy_project : [boolean] (default: true) Copy the KiCad project to the destination directory.

  • dnf_filter : [string | list(string)] (default: '_null') Name of the filter to mark components as not fitted. Is a short-cut to use for simple cases where a variant is an overkill.
    Can be used to fine-tune a variant for a particular output that needs extra filtering done before the variant.

  • exclude_filter : [string | list(string)] (default: '_null') Name of the filter to exclude components from processing. Is a short-cut to use for simple cases where a variant is an overkill.
    Can be used to fine-tune a variant for a particular output that needs extra filtering done before the variant.

  • hide_excluded : [boolean] (default: false) Hide components in the Fab layer that are marked as excluded by a variant. Affected by global options.

  • include : [string | list(string)] (default: '_all\_') [comma separated] When exporting a KiCad 10 file also include the listed variants. The _all_ keyword means all other variants.
    The variant indicated by the variant option will be the Default KiCad variant.

  • pre_transform : [string | list(string)] (default: '_null') Name of the filter to transform fields before applying other filters. Is a short-cut to use for simple cases where a variant is an overkill.
    Can be used to fine-tune a variant for a particular output that needs extra filtering done before the variant.

  • title : [string] (default: '') Text used to replace the sheet title. %VALUE expansions are allowed. If it starts with + the text is concatenated.

  • variant : [string] (default: '') Board variant to apply.