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=Component position information of a circuit type. |
||
5 | slib_parms=1\ |
||
6 | ,the type of circuit |
||
7 | slib_author=Gang Xiao |
||
8 | slib_out=A matrix |
||
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: each row of 5 columns corresponds to a component.<p>\ |
||
14 | Col. 1,2 = (x,y) of the component center <br>\ |
||
15 | Col. 3,4 = (x,y) of annotation text <br>\ |
||
16 | Col. 5 = orientation (0=horizontal, 1=vertical) |
||
17 | !exit |
||
18 | |||
19 | :proc |
||
20 | slib_type=!item 1 of $wims_read_parm |
||
21 | slib_c=!char 1 of $slib_type |
||
22 | !if $slib_c isin 123456789 |
||
23 | slib_prefix=data/circuits |
||
24 | !else |
||
25 | slib_prefix= |
||
26 | !endif |
||
27 | slib_rec=$slib_prefix/$slib_type.data |
||
28 | slib_out=!record 3 of $slib_rec |