Jump to content

Same Attribute value entered once that shows up twice


Recommended Posts

Posted

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.

Posted

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).

Posted

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

Posted

This is about the best I could do. You have to reference the block itself.

 

test.PNG

TEMP.dwg

Posted

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.

Posted
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.

Posted

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.

Posted

What if you type the command UPDATEFIELD?

 

Or change the value of FIELDEVAL to 31 and then REGEN?

Posted

Have you looked into MINSERTs. It will display the ATTRIB in each reference. -David

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...