I tried to reuse tags of attributes.
In example I attached a bitmap.
I tried several methods: fields, same attributetags... but it doesn't work. Somebody has an answer. I would be gratefull..
Kind regards and thanks
Nancy
|
|
|
I tried to reuse tags of attributes.
In example I attached a bitmap.
I tried several methods: fields, same attributetags... but it doesn't work. Somebody has an answer. I would be gratefull..
Kind regards and thanks
Nancy
When creating the Block.
Avoid selecting all the attributes using a window function.
When Creating the block make sure u select attributes in such way that
the attributes u need first select them first
Hope this works...........
Not completely true. If you do get carried away and select them all at once you can edit the block and key in "battorder" to reorganize the order of the attributes.
Nancy welcome to AUGI! Hopefully you find this place as an invaluable resource of information.
And to answer the origrinal question you cannot reuse the tags of an attribute, and expect it to work correctly, especially with fields. They tend to get a little cooky when this is done. Could you possibly explain further why you would want to reuse a Tag, and maybe post a drawing, or a little better resolution bitmap. The one here was very hard to read.
Also could we get a moderator to move this to the correct forum?
Thanks a lot for answering.
I describe shortly the problem:
-> First solution with same tagname:
In one block there some attributes (or fields) I need to reuse.
In de earlier versions of Autocad, the user could define an attribute with the same name. When I defined two attributes with same tagname, Autocad 2008 shows the double definition in red color.
->Secondly I tried to insert de fieldname in the attribute.
But I did not succeed to update de field.
Kind regards.
Nancy
You're correct about the tag names not allowed to be the same any more. It's due to what's known as data-tuple-uniqueness - a database basic requirement. If this wasn't the case then data extraction couldn't work at all.
If what you're after is having the actual value of an attribute copied into another attribute, then you'll have to make the 2nd ATTRIB with a unique tag name. Then use fields (outside of block editor) to link to the 1st attribute. See the attached screenshots. You'll have to do this for each duplicate attribute in each instance of the block - very time consuming. Unfortunately there's no way of getting the link to attributes from within the block editor (as you can with other properties) by using the Block Place Holder object. The only thing I can think of to get this done automatically is to write a custom LISP routine.
If you're creating these blocks for the 1st time, then do the links for the very 1st block. Then use COPY instead of INSERT for the others. The fieldcodes will then automatically update to each new block - linking the 2nd ATTR to the 1st inside aech new instance of the block.
Hello,
Thank you very much. I see it's not working. I shall write a VBA-routine.
Kind Regards.