home *** CD-ROM | disk | FTP | other *** search
- %atrib.ccc
- * add attributes to entity in D.B.
- *$Header$
- *$Log$
- :j
- * check geometric mode activity (c100=' ')
- ascii c100 r13
- if r13 eq 32 :i
- mess illegal command, use \GEOM first !
- getwe
- goto :j
- :i
- sbreset
- :f
- mess attribute name=description (1-20 char.)
- r37=0
- r38=20
- r39=171
- r1=0
- ovl getc
- if r1 eq 0 :W
- mess Attention please! (1-20 char.) push <ENTER>
- getwe
- goto :f
- :W
- ascii c171 r9
- if r9 eq 32 :i
- :b
- mess attach attribute to: y-selection group, n-single entity <n>
- r1=0
- def 'n'
- getyn r1
- if r1 eq 0 :a
- i1=0
- goto :d
- :a
- mess entity to add the attribute to
- gete i1
- mess confirm choice
- getyn r1;unshow i1;if r1 eq 1 :c
- goto :a
- :c
- ovl attr
- sbreset
- repeat :a
- :d
- ovl attr
-