• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD 2010/2011/2012 DWG Format

    Reply
    Contributor
    mewescott
    Posts: 21
    Registered: ‎02-10-2011
    Accepted Solution

    Change font of named Attribute through out drawing

    304 Views, 7 Replies
    09-25-2012 03:47 AM

    I am using Autocad Electrical and I have an attribute name INST for the installation code in multiple blocks in my drawings.  Is there a command out there that can change the font of just that attribute to Arial through out the drawing.  I do not want to change any of the other attributes and they all use the same style.

    Please use plain text.
    *Expert Elite*
    pendean
    Posts: 15,012
    Registered: ‎11-06-2003

    Re: Change font of named Attribute through out drawing

    09-25-2012 05:32 AM in reply to: mewescott

    BATTMAN command: you may need to use ATTSYNC afterwards too.


    Dean Saadallah Blog | Facebook | RSS | Twitter | PINS
    Please use plain text.
    Contributor
    mewescott
    Posts: 21
    Registered: ‎02-10-2011

    Re: Change font of named Attribute through out drawing

    09-25-2012 07:09 AM in reply to: pendean

    How would you use Battman to change multiple blocks at the same time.  I tried to select several first then go into the command unfortunately it only selects one Block.  I have multiple blocks on each drawing with the same INST attribute.

    Please use plain text.
    *Expert Elite*
    pendean
    Posts: 15,012
    Registered: ‎11-06-2003

    Re: Change font of named Attribute through out drawing

    09-25-2012 08:19 AM in reply to: mewescott

    I did not realize from your post this was the same exact attribute tag in ALL or many blocks in your file. You will need to dive into more customizing with Lisp unless someone has a freeware to do what you seek.

     

    While you wait here consider also posting in the Customization Discussion area:
    http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/bd-p/130


    Dean Saadallah Blog | Facebook | RSS | Twitter | PINS
    Please use plain text.
    Contributor
    Posts: 14
    Registered: ‎05-24-2012

    Re: Change font of named Attribute through out drawing

    09-26-2012 08:28 AM in reply to: pendean

    Please excuse my possible ignorance (I may be misunderstanding the problem), but can't you just edit the attribute in Block Editor? Then it would redefine all the blocks in the dwg.

    Please use plain text.
    *Expert Elite*
    pendean
    Posts: 15,012
    Registered: ‎11-06-2003

    Re: Change font of named Attribute through out drawing

    09-27-2012 05:40 AM in reply to: Norrisc761

    That's for one block at a time, the OP seems to be indicating all his blocks (A, B, C, D, E, F, G, and so on if these were block names) all have this one common shared attribute name and they do not wish to edit each block separately in each DWG file.


    Dean Saadallah Blog | Facebook | RSS | Twitter | PINS
    Please use plain text.
    Contributor
    mewescott
    Posts: 21
    Registered: ‎02-10-2011

    Re: Change font of named Attribute through out drawing

    09-27-2012 10:23 AM in reply to: pendean

    That is the case I do have multiple blocks with the same attribute name that I want to change the font on.  I have received a solution to my posting in the posting I put on the Autocad Electrica forum.  Pat Muren created a custom lisp file and script that worked like a charm.  To view the posting go to:  http://forums.autodesk.com/t5/AutoCAD-Electrical/Change-the-font-of-the-Installation-code-through-ou...

     

    Thank you for assistance.

    Please use plain text.
    *Expert Elite*
    pendean
    Posts: 15,012
    Registered: ‎11-06-2003

    Re: Change font of named Attribute through out drawing

    09-27-2012 02:27 PM in reply to: mewescott

    Thanks for sharing, and the follow-up.


    Dean Saadallah Blog | Facebook | RSS | Twitter | PINS
    Please use plain text.