Sheet Variables Are Blank in Text Added to Layout

I am working on KiCAD 7.0.0 in Windows 11.

I’ve set some of the sheet properties like Revision and Issue Date in the Schematic Editor, and I see here that I should be able to reference those variables in footprint text on the PCB. I would like to put text on my PCB that reads “Rev ${REVISION}” and to have it updated when I change the value in the sheet. However, even though the page settings dialogue in the Schematic Editor shows that the revision is “A”, when I add the above text to my PCB, the variable is blank. See the screenshots below for an illustration.

Am I misunderstanding how this feature is supposed to work? Is there an additional step I need to do to set the Revision variable? Please let me know if you have any info.

image

image

not quite. as far as I know these variables are not globally available in kicad but bound to the editor they are defined in. so in your case the variable would be only defined for the schematic editor as you set it there. Easiest solution for your case would be to set the Revision also in the Layout Editors Sheet Properties and then it should be referable.

Ah I see, thank you! Didn’t realize there were separate sheet variables in the PCB editor.

if you want to link the revision field between the schematic and pcb, you can create a text variable my_revision (or whatever) in File → Schematic|Board Setup → Project → Text Variables, and then use ${my_revision} anywhere you want your revision: PCB text, schematic title block, etc.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.