google / pcbdl

PCB Design Language: A programming way to design schematics.
Other
155 stars 23 forks source link

view is not defined #30

Closed maxschommer closed 3 years ago

maxschommer commented 3 years ago

In the example class_a.py, line 38:

q.BASE << (
    C(ac_coupling_value, to=Net("vin")),
    R("1k", to=vcc),
    R("1k", to=gnd),
)
view(R)

an error is thrown: NameError: name 'view' is not defined

After searching the source for view it's not found anywhere.

EDIT: Mistakenly submitted