Results 1 to 4 of 4

Thread: Replace text styles used in drawing files

  1. #1
    100 Club
    Join Date
    2006-11
    Location
    Martinsburg, WV USA
    Posts
    199
    Login to Give a bone
    0

    Default Replace text styles used in drawing files

    I have large quantities of drawings from a subcontractor who uses weird text styles. each time i open the drawings, it asks me what to replace the text style with. but, if i publish the whole lot of drawings, the text does not plot at all.

    how can i tell autocad to always replace text style "a" with standard text?

  2. #2
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: Replace text styles used in drawing files

    The quickest way I can think of to get around this is to set up a drawing file, maybe even a template (dwt) with all the weird text styles with the fonts you want assigned to them.

    Then insert, or copy-clip each drawing into it and save it back and the styles will take on those properties.

    Another way would be to run a lisp routine:
    Code:
     (defun c:WEIRDTEXT ()
     (command "_style" "<weird style1>" "<desired font>.shx" "" "" "" "" "" "")
     (command "_style" "<weird style2>" "<desired font>.shx" "" "" "" "" "" "")
      (princ)
     )
    Last edited by tedg; 2007-05-25 at 04:07 PM.

  3. #3
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: Replace text styles used in drawing files

    If the styles all use the same font, you could set the variable FONTALT to point to the font you want to use.
    If different fonts are used consistently, it might be worth creating a FONTMAP file.

  4. #4
    I could stop if I wanted to
    Join Date
    2003-12
    Location
    Pittsburgh, PA
    Posts
    355
    Login to Give a bone
    0

    Default Re: Replace text styles used in drawing files

    Look here for "txtmrg"
    http://www.texupport.net/bugslist/in...download&cid=2
    It may do what you want.

Similar Threads

  1. Embed Linetypes and Text Styles in a Drawing
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 3
    Last Post: 2012-12-15, 05:22 AM
  2. Replace Text in multiple files.
    By randyspear in forum AutoLISP
    Replies: 0
    Last Post: 2009-11-30, 06:53 PM
  3. Find and/or Replace Text in the Drawing Manager
    By inventor.wishlist1738 in forum Inventor Wish List
    Replies: 0
    Last Post: 2009-10-25, 03:34 PM
  4. Modify Wall Styles on Multiple Drawing Files
    By CADdancer in forum ACA General
    Replies: 3
    Last Post: 2009-06-23, 08:19 PM
  5. Text search and replace routine across multiple drawing files
    By David van Erk in forum AutoCAD Customization
    Replies: 1
    Last Post: 2006-05-19, 10:31 PM

Posting Permissions

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