View Full Version : Same Attribute value entered once that shows up twice
D_Gaddess
29th Oct 2009, 09:18 pm
Is it possible to have the same attribute show up twice in one block. I tried having i field in another attribute that referenced the value, as well as a text that had the field. The field showed the original information but would not update if the original attribute value was changed.
SteveK
29th Oct 2009, 10:18 pm
I'm happy to be corrected, but not that I know of.
A couple of things that come to mind:
- If you use the GATTE command, if multiple attributes have the same tag it will update all of these to the same text string.
- You could possibly create a block within the block that contains the attribute. Though it makes editing the attribute more cumbersome.
Because you asked this question in the autolisp forum does that mean you want a lisp? It's possible to make one to change all the attributes in a block that have the same tag (like GATTE but not globally).
Glen Smith
29th Oct 2009, 10:25 pm
Have you tried doing a regen after entering the first attribute? (with the field attribute that you have). I have a vauge recolection of someone else trying this and that being the answer.
Glen
alanjt
29th Oct 2009, 10:30 pm
This is about the best I could do. You have to reference the block itself.
15157
D_Gaddess
29th Oct 2009, 11:38 pm
Ya, the block is pretty much what i tried, if you make it a block and then change the first attribute the second doesn't change. Also if you regenall it still doesn't change.
alanjt
29th Oct 2009, 11:47 pm
Ya, the block is pretty much what i tried, if you make it a block and then change the first attribute the second doesn't change. Also if you regenall it still doesn't change.
What I posted works for for me when I regen.
D_Gaddess
29th Oct 2009, 11:58 pm
I wonder if there is a setting that needs to be switched. You made that into a block and it worked? When i make it into a block and change the original it doesn't change the second one. Weird.
SteveK
30th Oct 2009, 12:12 am
What if you type the command UPDATEFIELD?
Or change the value of FIELDEVAL to 31 and then REGEN?
David Bethel
30th Oct 2009, 11:52 am
Have you looked into MINSERTs. It will display the ATTRIB in each reference. -David
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.