Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trouble with Dialog boxes during LISP routines

6 REPLIES 6
Reply
Message 1 of 7
jonathonadams4754
492 Views, 6 Replies

Trouble with Dialog boxes during LISP routines

I am not sure what I changed in the settings of my Autocad (2011). But today whenever I run a lisp program, all of the dialog boxes open up for all commands called in the lisp that do not have the "-" infront of them. I have tried toggling the CMDDIA variable to "0" and this still has no effect.

Is there some other variable that I could have changed on accident?

 

The commands in the lisp rotuine that get called are "LAYER" and "STYLE" if that helps any.

 

Thank you.

6 REPLIES 6
Message 2 of 7
southie
in reply to: jonathonadams4754

Jona

 

Try placinmg a hyphen in front of layer or style

 

i.e.  (command "-layer".....  or (command "-style" ...

 

hth

 

southie

Message 3 of 7
jonathonadams4754
in reply to: southie

I realize this would fix it, but I have dozens of lisp routines that worked on friday, and I am not sure what I did inbetween that they all no longer work becuase of this dialog box issue.

 

Message 4 of 7
southie
in reply to: jonathonadams4754

oops did not read whole post.  I see you tried placing a - already

Message 5 of 7
southie
in reply to: jonathonadams4754

maybe this system variable

 

FILEDIA

 

Suppresses display of file navigation dialog boxes.

0

Does not display dialog boxes. You can still request a file dialog box to appear by entering a tilde (~) in response to the command's prompt. The same is true for AutoLISP and ADS functions.

1

Displays dialog boxes. However, if a script or AutoLISP/ObjectARX™ program is active, an ordinary prompt is displayed.

Message 6 of 7

I tried with all ATTDIA, CMDDIA, and FILEDIA variables set to 0 and it still did it.

I finally decided to uninstall and reinstall autocad to fix the problem since it was taking so long to figure it out.

 

This solved my problem. Thanks for my help. Hopefully it doesnt happen again.

Message 7 of 7
stevor
in reply to: jonathonadams4754

1. What autocad versions, what OS?.... 2. Other routines running that might change the FileDia setting?.... 3. Provide some code.
S

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

Post to forums  

Autodesk Design & Make Report

”Boost