New CADforum look launched.
Over 1.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Over 1.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
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.
ACADLT
*CAD
21.8.2011
6788×
applies to: AutoCAD · AutoCAD LT ·