I have a really disturbing problem that also was present in AutoCAD Mechanical 2014.
We use quite a lot of fields that need to be updated at regeneration and so on, and therefore we have FIELDEVAL set to 31 in templates. The problem is it keeps resetting to 4. All it takes is to run PUBLISH. Doesn't even matter if OK or CANCEL is pressed in the publish dialog, all open drawings get FIELDEVAL set to 4 after that.
I found something about this bug being fixed in AutoCAD 2015 but maybe it was forgotten i Mechanical?
can you please tell us about what Version you are talking/using?

for the moment this issue is not fixed and as it is used rarely there is not time frame for the fix at this time.
Please use following workaround:
Please execute the operation of changing the value of the system variable FIELDEVAL again after executing the PUBLISH command.

Sorry I don't understand. What function is rarely used?
Fields are used all the time. We have them in all drawings. Publish too because that's the only way to print multiple drawings.
It's quite annoying to have fields in the drawing not update after it's been printed. I think you should reconsider.
rarely means that one of a small minority using this feature.
And there is a workaround:
Executing the operation of changing the value of the system variable FIELDEVAL again after executing the PUBLISH command. Then the fields are updated.

I know what rarely means, but I don't know why you think that? Which function is rarely used?
Sorry but the "workaround" is not acceptable. PUBLISH changes FIELDEVAL on ALL open drawings which means if we have say 8 drawings open, which is not uncommon, then we have to go through all of them and change FIELDEVAL to 31 again.
What are you even talking about? We are using 2019 as I wrote. We have had the same problem since 2014 but I didn't work here then.
we saw 2 customers (incl. your Company) having this issue since version 2016. Not so much - or?
And there is a workaround for that.

Sure, we can keep on resetting them like we always have done. You call it a "workaround" and I call it just really annoying. Because we are a company with 10+ CAD users and not everybody will remember to set FIELDEVAL for every publish.
We pay tens of thousands of dollars every year but you can't get a programmer to check how it was fixed in regular AutoCAD and do the same to Mechanical?
Thanks for your help anyway.
the FIEDEVAL only exists in AutoCAD Mechanical.
I'm sorry for the inconvenience that your company is having using that feature frequently, but the most AutoCAD Mechanical users seem not to use it or found the workaround and did not report the issue to Autodesk.

Strange, it says on Autodesk website that it exists in all AutoCAD versions.
https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoC...
I'm starting to question if you actually ever used AutoCAD because auto-updating fields are very common not only in Mechanical. I found evidence on google that the bug was actually fixed in regular AutoCAD 2007 with one of the service packs. But I'm giving up now. I reported the bug and if you don't want to fix it there's nothing more I can do.
Just followed the discussion.
And if I understand right, as workaround you just need a small arx app, that monitors in the background the variable FIELDEVAL and if switched, put it back to value 31 ?
Would that help ?
regards
Markus
I share your frustration with this bug.
I use Vault Professional which drives various attributes and fields such as drawing revision, and this issue has resurfaced following several ACAD releases without the problem.
Not sure if you ever found a resolution, but...
I believe the fix is to locate your 'ACADDOC.LSP' file (should be in C:\PROGRAM FILES\AUTODESK\AUTOCAD ####\ACADM\), open it up in Notepad, and about mid-way down add the (setvar "FIELDEVAL" 31) line immediately after the 'AcadMDocStart' line, i.e.
(AcadMDocStart)
(setvar "FIELDEVAL" 31)
)
)
;;;-----BEGIN-SIGNATURE-----
I would recommend that you save a copy of the ACADDOC.LSP prior to making any changes.
This mod would of course have to be implemented on each user's CAD, but should only need to be done once (until the next update that AutoDesk releases that overwrites this file).
This mod worked for me back in ADADM 2014 / 2015, and seems to be working for 2020 so far.
Why the experts helping you on here couldn't advise this change seemingly favouring you having to reset the Fieldeval variable each and every time I have no idea...
I also have same issue. not often or every time but quite annoying.
I am using 2021 AutoCAD
somehow, my fieldeval value go back to "0" and my auto-field table and text are not updated.
when it happen I have to change "31" or other number every single time.
it cause not serious problem but sometime my customer confused with some auto-field text that I believed and supposed to be updated when i save or regen.
of course, I have to check before I release but as human make mistakes, I sometimes forget to check and send without updated version.
I dont think it is good answer, it happens only few times or few people. it is bug or something anyway.
I have no way to modify files in my "C" drive, they are protected by out IT department.
However, I discovered this workaround, that doesn't require changing a drawing variable every time you publish.
Change both the publish commands in the CUI to the following,
^C^C_publish \_fieldeval_31
Sorry I didn't discover it sooner.
Hi,
I had restricted 'Admin-only' access to saving or modifying a file in this location too, but what I was able to do was save the modified ACADDOC.lsp file onto my desktop, and then drag it into the C:\Program files..... location, overwriting the existing version.
Not sure if you have another level of security on your PC set by your IT dept, but this worked for me.
Definitely make a copy of your ACADDOC.LSP file first though!!
Hope you got it working either way.
This is still a problem in 2024 Mechanical... Disgusting showing by Autodesk to actively ignore fundamental bugs for 10+ years after having them reported constantly year after year. What does that company even do with all our money???
Can't find what you're looking for? Ask the community or share your knowledge.