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.
Here path in your blockplaceholder field to the lookup table you just created.
Now select your lookup table you created and change your value.
Then both attributes will update upon regen.
Click here to download the sample DWG. Download SECTION.dwg
dear sir,
i want some autolisp samples in 2004.
Posted by: suresh.G | October 06, 2005 at 11:33 PM
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.
Posted by: Mark Douglas | October 07, 2005 at 06:44 AM