FILEDIA System Variable

by Will on May 24, 2011

Quick one for today – the system variable FILEDIA.

I remember on more than one occasion when learning AutoCAD® tearing my hair out wondering why my SAVE dialog box had vanished, forcing me to input paths to the command line. Very frustrating… so this system variable can be a sanity-saver to know.

The default behaviour is determined by the FILEDIA system variable. Set it to 0 to hide dialog boxes, and 1 to display.

One of my subscribers Chris Thron got in touch with an excellent addition to this post. Although his comment is still below where you’d expect comments to be, I though it would be useful to include it in the main body of this post to make sure it is not missed:

“If you find this happens you need to open a drawing or template to activate the FILEDIA command so you have to input the path name at least once. To get round this on the path prompt enter “~” “enter” (tidle) and it open the dialog box”

Sanity saved.

Will

Enter Your Mail Address

Be Sociable, Share!

{ 7 comments }

Chris Thron May 24, 2011 at 9:33 am

If you find this happens you need to open a drawing or template to activate the FILEDIA command so you have to input the path name at least once.

To get round this on the path prompt enter “~” “enter” (tidle) and it open the dialog box

Will May 24, 2011 at 10:02 am

Thank you very much Chris for a fantasic tip! I’ll add this to the main post, with a credit for your excellent contribution!

Sarah June 2, 2011 at 3:15 am

Just wanted to say thank you for putting up this post! We’ve been trying to figure out why we couldn’t save our Autocad files anywhere but the desktop for the last month, and we’re so relieved to find out the solution was so simple! Kudos

Will June 21, 2011 at 9:01 am

No problem!

john coon June 2, 2011 at 4:56 pm

Will,

The sys variable command CMDDIA is also a command that goes along with filedia in many cases.
CMDDIA sets the if dialog boxes open if the comand uses a dialog box or if it is run from the command line.

If you runs scripts you want to add lines at the top of your script to set filedia and cmdddia set to 0 then as you come out of the script you want to re-set them back to 1 so the dialog boxes display again.

john

Will June 21, 2011 at 9:01 am

Thanks for the tip John.

vikas July 30, 2011 at 5:11 pm

thanks sir , it was very helpfull

Comments on this entry are closed.

Previous post:

Next post: