• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

automatically update attributes

  • Thread starter Thread starter Wave1Wave
  • Start date Start date

Wave1Wave

Guest
I would like to ask for the following help.

I would like to create a block with 10 tags but these must be all the same. in other words when I click on the block in the mask the field appears to me for only one tag. the other 9 tags must be updated automatically with the same value as the first.

thanks for the help
 
I would like to ask for the following help.

I would like to create a block with 10 tags but these must be all the same. in other words when I click on the block in the mask the field appears to me for only one tag. the other 9 tags must be updated automatically with the same value as the first.

thanks for the help
you can make a special macro, select the block, edit the attribute and automatically all other tags are edited with this value.

perhaps you can also solve with data fields, but I'm not sure, no I use them habitually

rectifier you can do it with data fields, quqando define the attribute in the head "default" right-click, enter data field and then follow the attached image.
 

Attachments

  • untitled.webp
    untitled.webp
    51.5 KB · Views: 71
Last edited by a moderator:
I tried to do what I said, but by doing an attribute in the block, the attribute updates but others do not automatically update even if I follow the procedure you have decrypted.
 
I tried to do what I said, but by doing an attribute in the block, the attribute updates but others do not automatically update even if I follow the procedure you have decrypted.
generally the data fields are updated after a regenerate, no I know why but it works like that.
 
you could tell me a vba list where an example is reported for managing a block attributes.
so I try to do everything with vba.
Thank you.
 
you could tell me a vba list where an example is reported for managing a block attributes.
so I try to do everything with vba.
Thank you.
look not to give you the code, which among other things is not trivial to manage blocks and attributes with the vba (of course you can do) but the method of data fields works, you just have to do it properly.
I attach you an example file, only note is to make a regenerate at the end and everything works.
 

Attachments

  • untitled.webp
    untitled.webp
    63.9 KB · Views: 54
  • Matrice.dwg
    Matrice.dwg
    77 KB · Views: 49
I attach a simple block that I have realized as from your directions, but in my autocad it does not update.
here is done, the fields must be attributes, otherwise you cannot associate them to the block for a speech of explosion levels, cmq now works.

If you have to do more, explore this and see the struttra.
 

Attachments

It keeps not working. attach pdf file with images. I would like the other attributes to be updated as soon as I enter the new value on the first attribute and not using the updated field function
 

Attachments

It keeps not working. attach pdf file with images. I would like the other attributes to be updated as soon as I enter the new value on the first attribute and not using the updated field function
then honestly I don't know what doesn't work for you, because I also did the test with autocad 2007 and it works. you don't want to update the field... No need. .

with the _editatt command modifies the value of the field insert acronym thread and then insert acronym thread from the ok.
at this point to update all fields.. command _rigen. and all fields are attached

must work if it doesn't work is your autocad to have some abnormalities.

in pdf I see that the fields are no longer greedy in the screed which means that the field has been lost, have you exploded the block ? manually modified the field ?
 

Attachments

  • untitled.webp
    untitled.webp
    44.8 KB · Views: 25
hi shape, I am new to the forum, I tried to follow your instructions but eventually the attribute does not update.
I'll tell you soon: 1. I create a new attribute called master in the default field; 2. I create another attribute and in default I insert the master field or object-value as in your photo; 3. I create a new block by selecting the two attributes and so the second attribute (the slave) goes on grey background. At this point however, changing the master does not update the slave even by making the regen. your example "matrix", instead, works me, but I can understand where I'm wrong:36_1_28:
 
Try to attach your block that we see what's wrong.

as you have seen the method works so if there is no wrong reference
 
Try to attach your block that we see what's wrong.

as you have seen the method works so if there is no wrong reference
Hi, I solved, I managed to figure out how to do it. It's a bomb now, in a second you can update all the boards:
thanks for the help!:finger:
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top