sch-rnd scripting - examples

This is a collection of sch-rnd example scripts implemented in fawk. The purpose is to demonstrate sch-rnd's scripting API. Each script focuses on a single scripting feature.

Each example comes with an explanation, written in plain English about what the scripts do, step by step.

To learn scripting basics, please refer to the scripting rosetta doc of pcb-rnd. pcb-rnd also has documentation on how to load and run scripts, the same works in sch-rnd.

Index of examples

example description
Auto-place missing labels Place text objects (dyntext floaters) displaying the name of wire-nets and
symbols if they don't have it already.
Zillion(): create a lot of copies Create a lot of copies of the selection in a matrix groeing right and up
next to the selection.
quick attr (assisted attribute edit) Quick attribute dialog for choosing the value of the tolerance attribute from
a list of a few predefined values (e.g. 1% or 5%) for assisted attribute
editing.
TextAutoRotate Rotate non-locked text objects to make sure they are readable from bottom and
right.
voltage divider calculator Select two resistors that form a voltage divider and calculate output
voltage or tune resistor values when output voltage is changed. Can
modify resistor values on the drawing.