My Photo

May 2009

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

BLOGMap


« COPY vs COPYM (Express Tool) | Main | GATTE (Global attribute edit) »

September 30, 2005

Duplicate Attribute entries in Dynamic Blocks

Does your Dynamic block have duplicate attribute entries? And you need to update one, and have that automate to others attributes in your block? Well you can. All you need to do is create a lookup table inside your Dynamic block and fill in some attribute values in the lookup properties column. Once you've filled in all the lookup pretties for your block, you need to add a blockplaceholder field inside each of your attributes. Then point your blockplaceholder field to this lookup table you just created. Then that's it.

Now when you insert your block, you can select your lookup table grip and modify all your attributes at once. Now this system works good if you know what your values are going to be every time. If your values change like a grid system, where you may have grid line 11.7 or BB.6. Its a little overkill to try and add every possible value in. But this works good for simple values like the example I have below. Now I understand this work around may not be what everyone envisioned AutoCAD to do. But works with the tools we have, without having to punch out some code.

Here create your Lookup table or attribute entries.

Duplicateatt1

Here path in your blockplaceholder field to the lookup table you just created.

Doubleatt4

Now select your lookup table you created and change your value.

Doubleatt2

Then both attributes will update upon regen.

Doubleatt3

Click here to download the sample DWG. Download SECTION.dwg

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8345ae08669e200d834901fd069e2

Listed below are links to weblogs that reference Duplicate Attribute entries in Dynamic Blocks:

Comments

dear sir,

i want some autolisp samples in 2004.

What type of samples are you looking for? This type of duplicate attribute entries is not possible in AutoCAD 2004. Actually none of the AutoCAD Dynamic block codes work in 2004. If there is a code you would like, just let me know and I'll see what I can do.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.