I have created a rectangle whose length changes.
The value of the paameter "Dist1" is this length field that I associate to the attribute value. Basically, echo length from Dist1 into the attrib value.
The problem is when I insert the block into the drawing the value is shown as "DIST1", even after regen.
Once I pull the grip point to a new length and regen it still shows "DIST1".
If I go into the ddedit and select the edit box (for multiline data field) the shown value will correct itself, but only one time.
If I change the length again, the dimension does not update.
It worked fine when I tested the block but is having issues days later.
Any suggestions? thx .j.
Solved! Go to Solution.
Solved by Bob_Zurunkle. Go to Solution.
Is FIELDEVAL set to 31?
No sir it was set to zero, let me check this now.
...And there it works now....Thank you very much, kind sir.
thx again for the help. Would you know where I could find that information, I searched all morning for it on the web but was unable to ferret it out. Thank you very much. .j.
I found this in the AutoCad Command Reference
To update fields automatically
For example, to update fields only when the file is opened, saved, or plotted, enter 7.
Type: | Integer |
Saved in: | Drawing |
Initial value: | 31 |
Controls how fields are updated.
The setting is stored as a bitcode using the sum of the following values:
0 | Not updated |
1 | Updated on open |
2 | Updated on save |
4 | Updated on plot |
8 | Updated on use of ETRANSMIT |
16 | Updated on regeneration |
I hope this helps
The summing of the Codes listed in Help is also true of OSMODE and SORTENTS
Any others?
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
I believe I'm having the same problem, but the FIELDEVAL fix isn't working for me. Sample file attached.
@jsmithAP3Q4 wrote:
I believe I'm having the same problem, but the FIELDEVAL fix isn't working for me. Sample file attached.
Thanks for sharing your file: please explain where/what each field's OBJECT is getting its data
Some of these appear to get info from somewhere, but where
@pendean wrote:
@jsmithAP3Q4 wrote:I believe I'm having the same problem, but the FIELDEVAL fix isn't working for me. Sample file attached.
Some of these appear to get info from somewhere, but where
The column on the left contains the attribute definitions so the values may be updated after the block is inserted. The column on the right contains an mtext with a field entry that is linked to the value of the corresponding attribute definition (i.e. the field in the right column row 1 references the attribute definition for the left column row 1; rinse and repeat all the way up).
Some values that are being shown are the default values for some attributes, but if I change an attribute value after the block is inserted, no combination of fieldeval/regen/plot/etransmit gets the mtext field to update.
Can't find what you're looking for? Ask the community or share your knowledge.