ECN Forum
Posted By: James Martin Autocad 2005 - 01/03/05 07:05 PM
I was curious as to if anyone has ever tried to edit multiple block attributes, on multiple blocks, at once? Like say every attribute has a certain tag with the number 132 for a value, but manufacturer or cost is different. I only want to change that 132 value to 133 on all the blocks regardless of any other info that is in all the various other attributes on other blocks. Is this possible?
Posted By: Bjarney Re: Autocad 2005 - 01/04/05 02:19 AM
 
You might try www.eng-tips.com/threadminder.cfm?pid=555 [Registration required to post]
Posted By: Scott35 Re: Autocad 2005 - 01/04/05 06:30 AM
Have you tried performing Global Attribute Editing?

Invoke the ATTEDIT Command to edit multiple Blocks' Attributes.

Otherwise, you will need to perform something really time consuming via creations of "Unit Blocks" in new directories & with new names.
This would involve opening individual Blocks, editing the Attributes individually via the DDATTE Command, then "Write Blocking" them under new names in a new directory via the WBLOCK Command.

I am very sure there's a simple global or multiline text/attribute edit function in the >2000 versions (anything above R14), since these versions allow multiple items to be open in the same session - whereas my R14 version is extremely "DOS-Like" in nature, and only allows one drawing open per session.

Will check around with the "More Modern Users" [Linked Image] to see what they say.

Good luck!

Scott35
Posted By: Nick Re: Autocad 2005 - 01/06/05 03:34 AM
Type -ATE or -ATtEDIDIT. (notice the - in front on the syntax)

Edit attributes one at a time? [Yes/No] <Y>:
Enter n for no

Performing global editing of attribute values.
Edit only attributes visible on screen? [Yes/No] <Y>:
Enter N for No

Drawing must be regenerated afterwards.
Enter block name specification <*>:
Enter the name of the block you want to edit.

Enter attribute tag specification <*>:
Enter the tag name in the block you wan't to edit

Enter attribute value specification <*>:
Enter the existing value of the attribute. (Your 132)

* attributes selected.
(* =the number of blocks with this attribute value found by the program)

Enter string to change:
Enter the existing # (your 132 again)
Enter new string:
Enter the value you want (133)

All blocks will be updated!

Text in italics is my comments
Other text is AutoCAD propts

Here is an example:

Command: -ate
-ATTEDIT
Edit attributes one at a time? [Yes/No] <Y>: n

Performing global editing of attribute values.
Edit only attributes visible on screen? [Yes/No] <Y>: n

Drawing must be regenerated afterwards.
Enter block name specification <*>: L040422

Enter attribute tag specification <*>: DET

Enter attribute value specification <*>: 3

6 attributes selected.
Enter string to change: 3
Enter new string: 4

<Edited to fix a mistake and add example>



[This message has been edited by Nick (edited 01-06-2005).]
Posted By: Scott35 Re: Autocad 2005 - 01/11/05 09:34 AM
Jim;

Any information in this thread helpful to your CAD scenario?

Scott35
© ECN Electrical Forums