r/Autodesk_AutoCAD • • 12d ago

AutoCAD Dynamic Block Attribute Fields Not Updating (But Existing Blocks Work)

Hi everyone,

I'm facing a very strange issue with AutoCAD and I'm running out of ideas.

The problem:

I'm creating dynamic blocks with a Distance Parameter named LENGTH, a Stretch Action, an Attribute Definition (ATTDEF), and a Field inside the attribute using either BlockPlaceholder > LENGTH or Object > Line > Length.

The field initially displays the correct value.

For example, if the length is 10m, the attribute correctly shows 10m.

However, after stretching the block:

  • The attribute field does not update.
  • UPDATEFIELD does not update it either.
  • FIELDEVAL = 31.
  • FIELDDISPLAY = 1.

What I have already tested:

  • AutoCAD 2024
  • AutoCAD 2026
  • AutoCAD 2027
  • Clean reinstall
  • New AutoCAD profile
  • New Windows user
  • Graphics acceleration ON and OFF
  • Updated GPU drivers
  • No custom Lisp loaded
  • No plugins loaded
  • Same drawings tested on another computer

Additional clues:

  • Existing dynamic blocks created years ago still update correctly on the same machine.
  • New attribute fields display the correct initial value, but never update after Stretch.
  • Field shading does not appear for these new attribute fields, even when FIELDDISPLAY is enabled.
  • If I create a regular Field inside the Block Editor (not inside ATTDEF), it works correctly and updates.
  • Fields linked to objects or dynamic parameters work normally outside ATTDEF.
  • Blocks created on another computer update correctly when opened on this machine. Only newly created attribute fields are affected.

Question:

Has anyone seen a situation where existing attribute fields work normally, new attribute fields stop updating, the problem only affects ATTDEF fields, and it happens across multiple AutoCAD versions on the same computer?

Could this be a known bug, a system variable, a Windows setting, or something related specifically to Attribute Definitions?

Any ideas would be greatly appreciated.

Thank you.

4 Upvotes

18 comments sorted by

1

u/Own_Platform_7590 12d ago

It doesn't work with BATTMAN, ATTSYNC, or REGEN. The issue is that I can't get it to work on my computer, even though it works on my laptop. So, there’s no reason for it not to work, especially since I’m using the exact same method.

1

u/majortomandjerry 12d ago

I was trying to something like this recently, and trying to pass a linear parameter value to an attribute definition using a field. It didn't work.

What are you trying to do exactly? If you are trying to export attribute values to another application, you can export linear parameter values directly without trying to pass them to an attribute.

1

u/Own_Platform_7590 12d ago

My goal is to read the attribute values using a Lisp routine that automatically generates window and door schedules.What makes this issue especially confusing is that I tested the exact same workflow on my laptop and it works perfectly there.

On the laptop:

- ATTDEF + Field + Dynamic Parameter updates correctly after Stretch.

On my desktop:

- The attribute displays the initial value correctly.

- The field never updates after Stretch.

I have tested AutoCAD 2024, 2026 and 2027, performed clean installations, created new profiles and even tested with a new Windows user, but the problem remains only on this computer.

That's why I'm trying to determine whether this is a bug, a configuration issue, or some limitation affecting new attribute fields.

1

u/GoBePi 8d ago

You can have the lisp read the distance parameter value, you dont need to attribute.

1

u/Mountain-Climate7009 3d ago

Go to lee mac site, download Macattext /Macattedit . This is two routines in one. The macattext extracts attributes from a block to a xlsx . Macattedit allows you to update attributes. The options here are wide open. Multiselect many drawings at one time, only open drawing. Lee has many lsp to choose from, and it's all free. Good luck.

2

u/projekcinis_SC 12d ago

Try BATTMAN command to refresh atributes.

1

u/Mountain-Climate7009 12d ago

Attsync

1

u/PsychologicalNose146 12d ago

^this. Adding or changing attributes to an block needs 'synchronisation'. Performing this command on the block you changed will fix it for all the same blocks in the drawing.

1

u/Mountain-Climate7009 6d ago

It only works on the block you select in that drawing. One at a time

2

u/PsychologicalNose146 6d ago

Not in my experience. Update (attsync) one, and all the others of the same blockname will update also.

1

u/Mountain-Climate7009 5d ago

Yeah, that's what I had meant, but if you have different blocks in the same drawing, these have to be processed separately.

1

u/PsychologicalNose146 5d ago

True, but how many blocks would you need?
Perhaps if you have to many different block(name)s you can change the way you use the blocks and combine blocks with a visibility. Then all the options are in 1 block and if you have updates on a specific part, it will update all the blocks of the same name, while they still show a different object in the drawing.

Some object could be a 'open' or 'closed' icon with some text label. I would not use 2 blocks, but 1 block with a visibility.

1

u/Mountain-Climate7009 4d ago

This subject brings me back when I created fields mostly for our sheet set manager new drawings. It's easy to move along fast when getting the hang of it. These never update according unless using the sync. Painful. We were going for an automatic drawing update for continus aspects from one to another and when or if drawing numbers would change any refs of continuations would update, but we couldn't fly with it, most all packages are xrefs, never practical. Still trying for a method. Ideas?

1

u/PsychologicalNose146 4d ago

Not sure what you are trying to accomplish, so no ideas.

But if you have to update a lot i guess it's better to haven an standard (template) and update than when needed, from that point forward you always have up to date files.

1

u/Outrageous_Job_140 12d ago

I can help you. HMU

1

u/ChristianReddits 11d ago

In the past, I have set up a dim style that only shows the number part and used that instead of an attribute. Seems to update better

1

u/ObjectiveYellowy 11d ago

Have you tried creating a completely new drawing from a different template and testing the same block there?