Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I reset a user-created environment variable to be empty?

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
748 Views, 4 Replies

How do I reset a user-created environment variable to be empty?

I have created an environment variable called "SUFFIX", and assigned it the value "PSI", using the following command sequence:


setenv<enter>SUFFIX<enter>PSI<enter>


It works fine for what I'm doing (a toolbar button macro using DIESEL in AutoCAD LT 2011), but now I want to set the variable SUFFIX to be empty: not a space, not anything at all. I can't figure out a keyboard input that will do that.

Any suggestions? Thanks in advance.    

 

P.S. Perhaps there is an AutoCAD variable that consists of a null string? If so, I could "$M=" to get that null value and place it in SUFFIX.

4 REPLIES 4
Message 2 of 5
pendean
in reply to: Anonymous

Not sure you can, you have to enter something. may I ask where you use this and how, and why you need a blank entry for it (wouldn't you just not use the macro)? there might be other options.

Message 3 of 5
vmichl_cs
in reply to: Anonymous

Message 4 of 5
pendean
in reply to: vmichl_cs

An excellent tip for occasional use but I would hesitate to recommend a frequent or a constant Windows Registry edit (based solely on the OP's intended use as noted above).

My 2cents worth.

Message 5 of 5
Anonymous
in reply to: Anonymous

Thanks for all the responses.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost