On Wednesday 12 January 2005 04:48, Ales Hvezda wrote: > Hi Peter, > > >I would like to change the value of a invisible attribute in gschem > > (device, class, comment, ....) > >But when this attribut is marked as invisible in the symbol editor, > > I can't get it in the schematic. > > > >Is there any way to do this? > > Not easily at this time. However, there is one workaround that > will promote all invisible attributes to the schematic level, but > this might clutter your schematics up a little. Just enable: > > > ; promote-invisible string > ; > ; If attribute-promotion is enabled, then this controls if invisible > floating ; attributes are promoted (attached to the outside of the > component) if the ; text string is invisible. There are cases where > it is undesirable, so the ; default is disabled. > ; > ;(promote-invisible "enabled") > (promote-invisible "disabled")
I think there are some situations you do not want the attributes to be promoted automaticaly. But you want to be able to promote them manually. One case I have in my mind is the symversion attribute. After you have checked your circuit, you want to press a button that promotes that attribute. Someone mentioned a separate attribute dialog in the geda-user list. It may look like this: -------------------------- already promoted attributes: refdes= [textfield containing "U?] [deletebutton] ..... ..... availlable attributes inside the symbol: symversion= [textfield containing "1.0"] [promotebutton] ..... .... possible other attributes: value= [] [promotebutton] model= [] [promotebutton] ----------------------------- Well I haven't played with GTK yet, but maybe I'll try that soon. best regards Werner
