I wrote a scr file which enables me to rename plotstyles, but if the plot style does not exist, it interrupts the rest of the script file and i only know how to modify existing lisp routines.
can anyone direct me or give me some tips as to how to write a short lisp routine that can help me accomplish this task?
Thank you in advance,
Connie
~~~~This is the problem i encounter.
Command: -rename
Enter object type to rename
[Block/Dimstyle/LAyer/LType/Plotstyle/textStyle/Tablestyle/Ucs/VIew/VPort]: p
Enter old plot style name: Solid_10
Old plot style Solid_10 not found.
Enter old plot style name: Solid_047
Old plot style Solid_047 not found.
Enter old plot style name: -rename
Old plot style -rename not found.
~~~~~This is my scr file.
-rename
p Solid_01 Solid_002
-rename
p Solid_02 Solid_005
-rename
p Solid_03 Solid_007
-rename
p Solid_04 Solid_010
-rename
p Solid_05 Solid_012
-rename
p Solid_06 Solid_016
-rename
p Solid_07 Solid_020
-rename
p Solid_08 Solid_028
-rename
p Solid_09 Solid_035
-rename
p Solid_10 Solid_047
-rename
p Solid_11 Solid_062
-rename
p Solid_12 Solid_083