r/Autodesk_AutoCAD • • 7d 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

15 comments sorted by

1

u/Own_Platform_7590 7d 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 7d 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 7d 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 3d ago

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

1

u/Mountain-Climate7009 7d ago

Attsync

1

u/PsychologicalNose146 7d 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 2d ago

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

2

u/PsychologicalNose146 1d ago

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

1

u/Mountain-Climate7009 15h 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 10h 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/Outrageous_Job_140 7d ago

I can help you. HMU

1

u/projekcinis_SC 7d ago

Try BATTMAN command to refresh atributes.

1

u/ChristianReddits 7d 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 6d ago

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