Text field attribute value

Text field attribute value

Anonymous
Not applicable
2,018 Views
4 Replies
Message 1 of 5

Text field attribute value

Anonymous
Not applicable

Hi,

 

What I am trying to do is array a dynamic block attribute, of course the attribute can't be arrayed so I add a text with a linked field, but there is where things stop working. Everything is working fine, except the fields in the text do not update. I have tried using "Text", "DText", "MText". I can only get the original attribute value in the field. Updatefield doesn't work either. Fieldeval is 31. I have attached the block.

Thanks

 

Eric

0 Likes
2,019 Views
4 Replies
Replies (4)
Message 2 of 5

Albert_Rius
Alumni
Alumni

Hi Eric,

 

Welcome to the AutoCAD answer day.

 

The problem that you describe it's a know limitation in the product (an attribute field that references to another attibute in the same block).

 

Our development team is aware of it and it's working to find a solution.

 

 

Thanks

 


______________________________________________________________

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!



Albert Rius
Technical Support
Autodesk, Inc.
0 Likes
Message 3 of 5

Victoria.Studley
Autodesk
Autodesk

Hi @Anonymous,

 

Thank you for joining us today and posting your question and sample file!

 

I've been testing the dynamic block here, but have not yet found a way to accomplish what you're trying to do. It appears that while a field outside the dynamic block can reference the attribute and update accordingly, if the field is contained within the same block it won't update to match the atrribute when it is changed. I believe this is a limitation of dynamic blocks.


Victoria Studley
Principal Experience Designer - Fusion Configurations
Join us in the Fusion Insider Program
Fusion Learn & Support | Fusion Documentation
0 Likes
Message 4 of 5

Anonymous
Not applicable

Hi,

 

Thanks for the replies. What Victoria has said is interesting though, about the fields updating when outside of the block. I found one test block on the discussion board that actually appears to update the fields, and I think that somehow it is a field referencing an attribute in another block. I will attach that block too. Maybe somebody can decipher what is happening in that block?

 

Thanks again

 

Eric

0 Likes
Message 5 of 5

tawfikshehata3339
Explorer
Explorer

What happened in this block is that:

  1. It was initially created with no fields.
  2. Then it was inserted once into the drawing.
  3. Then by running the field command, selecting “object” from the “Objects” category, picking the block previously inserted, selecting the attribute, then the field expression shown can be copied (into notepad), then repeat for the rest of attributes.
  4. Then reopen the block in the block editor and paste the notepad contents straight into the mtext editor (no field command is needed here).