Results 1 to 2 of 2

Thread: Find/Replace ISS Unicode Character

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2005-12
    Posts
    1
    Login to Give a bone
    0

    Default Find/Replace ISS Unicode Character

    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.
    Attached Files Attached Files
    Last edited by BlackBox; 2013-07-10 at 07:26 PM. Reason: Please use [CODE] Tags

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: Find/Replace ISS Unicode Character

    Welcome to AUGI, and congrats on your first post!



    You should look at Lee's Batch Find & Replace Text routine, as I've found it to be incredibly useful.

    Also, if you're not sure How to Run an AutoLISP program, Lee's also written an excellent tutorial as well.

    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

Similar Threads

  1. 2007: Find & replace
    By nextvkin in forum AutoCAD General
    Replies: 6
    Last Post: 2015-09-06, 11:19 PM
  2. Find and Replace
    By Danny Polkinhorn in forum Revit - API
    Replies: 93
    Last Post: 2010-07-29, 07:10 PM
  3. Replace space with character in text
    By d_m_hopper in forum AutoLISP
    Replies: 15
    Last Post: 2010-02-10, 08:06 PM
  4. Find and replace
    By eric_keneson2 in forum AutoLISP
    Replies: 1
    Last Post: 2010-02-09, 04:26 PM
  5. Find and Replace
    By RMEYER.46723 in forum AutoCAD Civil 3D - General
    Replies: 5
    Last Post: 2009-06-09, 01:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •