Feature request : Contitionnal exclusion of components

Hello,

I am requesting a feature that allows the automatic exclusion of components from the PCB and BOM based on sheet properties or the connectivity status of hierarchical labels in the schematic editor.

This enhancement would greatly improve the reusability of modular designs, treating a sheet as a function with optional parameters.

Currently, KiCad does not support the direct conditioning of component exclusion from the PCB or BOM, and manually excluding components still poses the problem that component attributes apply to all instances of a sheet.

I suggest that the “excluded” attribute of components could be linked to a property of the sheet they reside in, and that such a property could also be determined by the “not connected” status of hierarchical labels.

What do you think of this idea? Do you need me to explain further my feature request?

It sounds like you are talking about variants ?