Over 1.091.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
CAD tip # 8157:
Question
A
You can add a text in your drawing which will automatically reflect the contents of a given environment variable on your PC.
Just add a text (e.g. by DTEXT) with the contents:
%<\AcDiesel $(getenv,TEMP)>%
(you can replace "TEMP" by the name of any other environment variable)
The contents of this dynamic field is updated on regen. Non-existing variables will display "----". You can add such text field also to a block attribute.
ACADACLT


21.8.2011
7310×
applies to: AutoCAD · AutoCAD LT ·