Hi <@U01819B63HP>, would it be possible to select ...
# xschem
t
Hi @Stefan Schippers, would it be possible to select a locked symbol by using some kind of key-combo (e.g. ctrl+shift) while clocking rather than selecting the whole thing? I have a border which is locked so i can select things inside it but to edit the properties in the border i end up selecting everything inside it too and i have in the past accidentally modified all the properties of everything in my schematic by doing so
s
hi, @Tom, one way to do that is drag a selection rectangle to select the whole schematic (including everything inside the border), then by pressing the 'Alt' key drawg an unselection rectangle to deselect everything inside the border. AT this point only the border is selected, press 'q' will allow you to edit its attributes.
t
@Stefan Schippers thank you for your response and I'm sorry for such a late reply. Yes, the reason for my question originally is that I've actually modified the properties of all symbols in the past and not realized subsequently wrecking my schematic. Perhaps another solution would be to prohibit the editing of multiple properties of different symbols types at the same time?
Also, happy new year @Stefan Schippers
s
@Tom if you select mutiple objects and edit their attributes a useful option is to select the checkbox "Preserve unchanged props". if you change some of the displayed attributes (example: W=3 changed to W=4) all selected elements will have this attribute changed/added to W=4, however all objects will retain their other attributes. If you don't set this checkbox all objects will have their attributes reset to what is displayed in the widget. Another simple way of selecting a set of locked symbols is by using the search function: hit Ctrl-f, search for token
lock
. leave the
value
field empty (or set to
true
to search only for objects with lock set to true) and select checkbox '`Select`'. the objects with a '`lock`' attribute will be selected. By pressing 'q' and selecting checkbox "Preserve unchanged props" you can block-change the
lock
attribute to 'false' leaving all other selected object attributes unchanged.
t
Ah thank you @Stefan Schippers, that's what that does;) that should do the trick. If I tick it once is it global?
s
If you mean ticking once the
Preserve unchanged props
it will remain set for the whole xschem session. Otherwise what exactly did you mean by 'ticking once' ? The search function locates matching objects in the current schematic. It does not traverse to lower levels.
t
Yes that is what I meant. Thanks for confirming