@User showing the real resistance (same for capacitances) can be done now, there is no specific code in xschem, only parameters in library cells (like 'rho' for resistors) :
👍 2
r
raphael
10/12/2020, 6:30 PM
Nice improvement! Thanks for your effort. Is it also possible to save the script in a file and use tcleval to run it?
s
Stefan Schippers
10/13/2020, 1:38 AM
@raphael you can source a tcl file (either from xschemrc or by doing
source file.tcl
at the command prompt) if this tcl file declares a procedure this procedure is available and can be used in tcleval, like:
tcleval([myproc .....])
. Putting a '`tcleval( [source file.tcl] [myscript ....] )` ' in the symbol's
tcleval()
is highly inefficient as it will load again and again the file any time the symbols are redrawn
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.