Attribute Automatic values from block

Attribute Automatic values from block

DanMiddleton
Advocate Advocate
558 Views
3 Replies
Message 1 of 4

Attribute Automatic values from block

DanMiddleton
Advocate
Advocate

I have created a block for my drawings.  It is for a single man door, with some width sizes set and the stretch parameter gets the info from the list I created and stretches the width accordingly.

 

What I would like to do is revise the text inside to reflect the value of the stretch parameter.  So, If I set the Width_dr parameter to 3'-0", the text updates to say 3'-0" for the attribute DR_WIDTH.  I cannot seem to find the correct value in the insert field area when creating the Attribute.

 

Any help would be appreciated.

Dan Middleton
AutoCAD user since 1993
AutoCAD LT 2023
0 Likes
Accepted solutions (1)
559 Views
3 Replies
Replies (3)
Message 2 of 4

Libbya
Mentor
Mentor

Here's a screencast.

0 Likes
Message 3 of 4

DanMiddleton
Advocate
Advocate

Thank you Libbya,

 

I was actually getting the same result, just was not doing a regen.  Is there any way you can have the value regen automatically?

 

 

Dan Middleton
AutoCAD user since 1993
AutoCAD LT 2023
0 Likes
Message 4 of 4

Libbya
Mentor
Mentor
Accepted solution

Not while using a field.  There is an alternative, though, that does not require regen.  You will need to use a block properties table instead of lookup for adjusting the width.

 

As an aside - always put the basepoint at 0,0 and adjust the rest of the block to match it unless you have a darn good reason for not doing do.  There's no reason for the Width parameter to be chained.  Never chain parameters unless you need to.  

0 Likes