CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 4050

CAD tip CAD tip # 8662:

Question CAD 
 %  platform  category 
Q - question

How to delete (reset) a variable set by SETENV?

A - answer You can set and retreive "environment" variables in AutoCAD LT with the SETENV and GETENV commands but there is no command to delete such variable completely.

If you really need to remove a custom variable previously set by SETENV (not just assign it to " "), you can do this in the Registry.

E.g. for AutoCAD LT 2013, you can find the SETENV variables in:

HKEY_CURRENT_USER\Software\Autodesk\AutoCAD LT\R18\ACADLT-B001:405\FixedProfile\General

Just remove the requested registry value with the name of your variable.

100% *  CAD 
3.6.2012    9851×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT ·

See also:
Tip 13933:How to set grid colors in AutoCAD Web?
Tip 13468:How to change the drawing background color in AutoCAD Web? (black drawing)
Tip 10444:How to hide system printers in AutoCAD PLOT dialog?
Tip 9763:Lasso - new method for selecting objects in AutoCAD 2015.
Tip 8280:Toggle display of the tabs Model, Layout1, Layout2...

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   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools 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.