I keep receiving files (about 120 at a time) that have been Exported from Revit to AutoCAD. The files contain mtext boxes that have an ISS Unicode Control Character, that doesn't show on screen, but shows when you print. I need to delete these from the files, and would like to be able to do this with scriptpro.
This is really my first attempt at putting together a script file, and I have no idea how to read or write lisp routines. I have been attempting to find a lisp routine on line that I can use. I did stumble upon an old forum discussion that had a lisp routine I've been attempting to use. http://forums.augi.com/showthread.ph...iptpro-utility.
Every time I run my script file though I get an error I can't figure out:
Code:
Command: (load "I:/CAD/AutoCAD_2011/SupportArch/Lisp/script/Switch_Text.lsp")
; error: bad character read (octal): 0
I've checked and it has nothing to do with the ISS Character replacement.
I'm attaching the lisp file, and can't seem to attach the script file, so here is one of the versions of script I tried:
Code:
(load "I:/CAD/AutoCAD_2011/SupportArch/Lisp/script/draworderanno.lsp")
msltscale
1
psltscale
1
ltscale
1
tilemode
1
-scalelistedit
reset
yes
exit
cannoscale
1/8" = 1'-0"
burst
all
textunmask
all
ssx
0,0
color
31
select
p
change
p
p
color
9
ssx
0,0
color
50
select
p
change
p
p
color
bylayer
-purge
all
n
texttofront
both
layerfront
highlight
1
tilemode
0
-vports
lock
on
all
(load "I:/CAD/AutoCAD_2011/SupportArch/Lisp/script/Switch_Text.lsp")
(switchtext "E/B"a "S/B"b)
Any help would be really appreciated, like I said before I've never attempted this, so feel free to talk to me like I'm a total...idiot is not the correct term, but close enough.