Subversion Repositories wimsdev

Rev

Rev 20 | Rev 4158 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20 reyssat 1
!if $wims_read_parm!=slib_header
2
 !goto proc
3
!endif
4
slib_title=Size and range information of a circuit type.
5
slib_parms=1\
6
,the type of circuit
7
slib_author=Gang Xiao
8
slib_out=Comma-separated list of items.
9
slib_example=9/br3close
10
slib_comment=Check the\
1043 bpr 11
<a href="$wims_ref_name?module=tool/elec/circdraw">circuit draw tool</a>\
20 reyssat 12
for details of available circuit and component types. <p>\
13
Output of the script:<p>\
14
Item 1 = x range (from 0 to) <br>\
15
item 2 = y range (from 0 to) <br>\
16
item 3 = number of fillable components <br>\
17
item 4 = list of paired components (numbers of the first in the pair)
18
!exit
19
 
20
:proc
21
slib_type=!item 1 of $wims_read_parm
22
slib_c=!char 1 of $slib_type
23
!if $slib_c isin 123456789
24
 slib_prefix=data/circuits
25
!else
26
 slib_prefix=
27
!endif
28
slib_rec=$slib_prefix/$slib_type.data
29
slib_out=!record 2 of $slib_rec