CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6476

CAD tip CAD tip # 8157:

   
Question CAD 
 %  platform  category 
Q - question

Reflect a Windows environment variable in your drawing.

A - answer 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
100% *  CAD 
21.8.2011    6593×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 14039:How to display the total volume or surface of 3D solids in DWG?
Tip 13996:Automatic hide for Revit palettes - save screen space (undocumented).
Tip 13817:Cannot type decimal number in the transformation field in Autodesk Meshmixer (e.g. Scale).
Tip 13788:Green square - mathematical charade and parametric constraints in AutoCAD.
Tip 13760:Parametric text content in Fusion 360 sketches (and models).


Back   All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist