FILEDIA System Variable
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"
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
Thank you very much Chris for a fantasic tip! I'll add this to the main post, with a credit for your excellent contribution!
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
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.
Thanks for the tip John.
thanks sir , it was very helpfull