"drawing busy"

"drawing busy"

gcsjlewis
Collaborator Collaborator
803 Views
2 Replies
Message 1 of 3

"drawing busy"

gcsjlewis
Collaborator
Collaborator

I am trying to run a lisp in a script file and when it gets to a certain point, the script stops, going through all the properties, i cannot see anything unusual but when i try to close the drawing s i get this message:

 

Command: (vla-close files)
; error: Automation Error. Drawing is busy.

 

Is there a way to "kill" or release the lisp that is running? 

 

Using Autocad Electrical 2011.  (i also downloaded a trial of 2017 and it doesn't work there either)

 

Also, i noticed that my AENEXT and AEPREV commands stop working, 

 

I personally think there is a problem with the API command i am trying to run, but maybe theres a work around

 

any ideas?

0 Likes
804 Views
2 Replies
Replies (2)
Message 2 of 3

hencoop
Advisor
Advisor

Try converting your script file to all lisp and then run it from the VLIDE.  You can use the debug tools there to abort the evaluation.

AutoCAD User since 1989. Civil Engineering Professional since 1983
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
                        27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
                        8.6.52.0 AutoCAD Architecture 2024
0 Likes
Message 3 of 3

gcsjlewis
Collaborator
Collaborator

no errors are showing.  I posted awhile back on this, i think one of the core API commands that come with autocad electrical is "faulty"  If i run my programs on a drawing basis everything runs fine with no errors using vlide.  But as soon as i run it in a script, this one API stops the program.  I've tried hardcoding just the api in a script, and  it crashes, with no error showing.  I truly think this is something someone from autodesk needs to investigate.

0 Likes