CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 2455 

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    3621x  
Comments   Tell a friend
applies to: AutoCAD · AutoCAD LT ·

See also:
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...
Tip 7901:How to redirect AutoCAD BAK files to another folder?
Tip 6643:Delayed xref change notifications - exclamation icon.

Back   All CAD Tips All CAD tips&tricks

How to add sizes to Inventor's involute splining. « | » Overview of files referenced from an Inventor drawing.

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.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.