I want to populate a different label for each hierachical sheet that use it. So I’ve put a field in the hierachical sheet.
And it does not work. But I’ve already done it with a previous version and it was working so I’m I’m at lost here.
This has to be propagated through the symbol. You have to add a field to the symbol and put ${ConnectorName} there. Then you have to use the symbol field name in the footprint text item, so that for example if the symbol field is ConnN, the footprint has text ${ConnN}.
After some testing,
This methode to pass a different name in each different sheet was working before. But It does not work with Kicad 8.0.3.
I can’t remember je version I’ve used where it was working, but I think it was already part of the version 8.0.x
Hi,
Yes If I add a symbol field ConnName, I can put a text in it, and I get in the footprint.
But I want a different text for each instance of my connector that I have in different sheet.
And if I change the filed in the symbol, then it change it for every instance of this part.
If in the field I put
Field name :ConnName Value : $(Conn}
and I put a sheet level field called Conn, the variable does not get resolved in my footprint, so I get the text ${Conn}
Create a new Field in its properties and give it some text.
Add some symbol inside the sheet and add a field to it, using the sheet’s field name as text. Make it visible.
Copy the sheet and paste it.
Open the pasted sheet’s properties and change the field text.
Compare the symbol’s text inside each sheet – it should reflect the different text in the field of each sheet.
Then it’s normal update PCB from schematic, and finally adding visible text to the footprints unless you use a library footprint which already uses that symbol field name in a text item.
EDIT: here’s a project which I used as an example when the hierarchical sheet variables and parameterized sheets were introduced. hierarchical_sheet_with_parameters.zip (7.4 KB)