Jump to content

File open/close/import can suddenly be done by dynamic input or command line ONLY


Recommended Posts

Posted

After deleting an 3DS model imported into an open dxf project, autocad somehow switched on dynamic and commandline input for EVERYTING, including load/save operations.

I know Acad can sometimes do some funky stuff by accidentally clicking something you did not notice, but this is by far the most annoiing thing i've encountered, because it appears to stay this way no matter wich (command)profile or template i open, or how many times i reboot.

Posted

Try setting your FILEDIA system variable to 1

 

(setvar 'filedia 1)

Posted

it worked, thanks! i wonder how i accidently switched it to 0.... but never mind, it works again :D

Posted

Some poorly routine custom lisp routines will reset system variables for the sake of the program and neglect to return the values back to their original settings when finished. Although resetting FILEDIA=1 doesn't seem like one that would qualify for this type of manipulation.

 

Ghosts in the machine?

Posted
Although resetting FILEDIA=1 doesn't seem like one that would qualify for this type of manipulation.

 

au contraire my friend FILEDIA is a prime candidate for manipulation by a lisp or script. By setting it to not show a dialog the program/script runs unattended.

Posted

Ahhh...I sees the light. Thank you for opening my visual orbs. :)

Posted (edited)
it worked, thanks! i wonder how i accidently switched it to 0.... but never mind, it works again :D

 

Unless you do a lot of variable manipulation for code testing, etc. it is far more likely that you executed a (poorly written) LISP routine which changes the variable, and perhaps failed to include the necessary error handling to reset the variable to its original value.

 

Ahhh...I sees the light. Thank you for opening my visual orbs. :)

 

Patrick hit the nail on the head. :wink:

 

To the OP - glad you got the issue resolved.

 

Cheers! :beer:

Edited by BlackBox
Typo
Posted
au contraire my friend FILEDIA is a prime candidate for manipulation by a lisp or script. By setting it to not show a dialog the program/script runs unattended.

 

Ahhh...I sees the light. Thank you for opening my visual orbs. :)

In all my coding, I've NEVER even wanted to change that variable.

Posted
In all my coding, I've NEVER even wanted to change that variable.

 

It all hinges on what you are doing. If there are certain file operations you might want to (or need to), although there are ways around it. Particularly in a script if a saveas is issued, or performing a batch of files: Open...do stuff...save repeat.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...