Results 1 to 2 of 2

Thread: Changing Attribute Tag Names

  1. #1
    Member
    Join Date
    2013-12
    Posts
    7
    Login to Give a bone
    0

    Default Changing Attribute Tag Names

    I am wondering if there is an easy way to change multiple different block attribute tag names without having to use BATTMAN. My issue is that I have over 400 different blocks which all have attributes with tag names like 1, 2, 3, 4,...etc. but I would like to change these attribute tags to what each number actually represents rather than the numbers (i.e. 1 -> Part Number, 2 -> Part Description, etc.) I can't export the attribute tags because these attributes are constants and not considered true attributes. We only use these constant attributes so that we can export the data for parts list but we don't want people to have to constantly get the attribute editor pop up every time they insert these blocks.I am using AutoCAD 2025.

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,171
    Login to Give a bone
    0

    Default Re: Changing Attribute Tag Names

    You can specify an attribute to be a constant in the attribute definition of the block.

    If the issue is the attribute editor displaying upon insertion, there is a system variable to disable that. This variable would be the ATTREQ system variable. It can be set to 0 (zero) to assume the default values of the block. This could be configured using an ACADDOC.lsp file stored within one of the paths listed in Support File Search Path settings found in your Options dialog.

    If the attribute numbers are still needed to be changed, you will want to change all of your source blocks (assuming these are stored drawing files). After the source blocks are updated, redefining them in your drawings should rename the attributes. However, an Autolisp routine could be created to read a text file to associate the block name with the necessary attribute names to change. If this is your route, you may want to ask that in our Autolisp forum.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. Replies: 36
    Last Post: 2016-10-30, 10:53 PM
  2. Replies: 4
    Last Post: 2008-05-09, 12:12 AM
  3. LISP FOR CHANGING TAG NAME IN BLOCK ATTRIBUTE
    By drsvsmani in forum AutoLISP
    Replies: 2
    Last Post: 2008-05-06, 06:42 PM
  4. Change Layer names to other Layer names via a script?
    By tburke in forum AutoCAD Customization
    Replies: 5
    Last Post: 2006-12-04, 07:30 PM
  5. View Names and Elevation Names not the same.
    By Jason in forum Revit Architecture - General
    Replies: 1
    Last Post: 2004-05-22, 09:03 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
  •