Update existing attributes in dwg with new attributes in my tool palette?

Update existing attributes in dwg with new attributes in my tool palette?

Paul.Labranche
Observer Observer
789 Views
3 Replies
Message 1 of 4

Update existing attributes in dwg with new attributes in my tool palette?

Paul.Labranche
Observer
Observer

Hello all,

 

Currently using AutoCAD 2018

 

I'm trying to update my existing attributes in a dwg with the new attributes in my tool palette. (They have the same name but has updated info inside like new colors)

 

Now, if i drag my new updated attribute from my tool palette into the existing dwg with the "old" attributes. the updates i made to that attribute do not show on the existing dwg (only shows on a new drawing). As of right now i need to delete all existing attributes in my drawing, Purge the dwg and then re enter the new attribute in order to see the updated colors.

That method is fine when i have a couple attributes in the existing dwg. however, when there is 100 of them this will consume too much time..

 

Any way to update all my existing block attributes in the dwg to see the updates i made in the tool palette?

 

Thank you!

0 Likes
790 Views
3 Replies
Replies (3)
Message 2 of 4

devitg
Advisor
Advisor

Could you, please, upload the sample dwg ??

0 Likes
Message 3 of 4

john.uhden
Mentor
Mentor

I'm still running only ACAD2002, but not too long ago I posted a way to delete attributes.  Might that be partially helpful?  I can post it again if you would like.  I know nothing about updating from a tool palette.

 

But if this is only about changing attribute colors en masse, then we can help you out there much more easily than the method you describe.  I am envisioning a routine that asks only for the tag names (wildcards welcomed) and the desired color as an integer.

John F. Uhden

0 Likes
Message 4 of 4

DannyNL
Advisor
Advisor

In your ToolPalette right-click on the updated attribute block and choose 'Redefine'. This should update the block with updated attributes.

 

If not all or none of the blocks seem to have been updated, use ATTSYNC (-->Select-->Selecl the block to be updated) additionally to force the update of the attributes to the new settings of your block definition.