.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCAD cant save after running my command.

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
a.kouchakzadeh
217 Views, 3 Replies

AutoCAD cant save after running my command.

Hello people

 

I noticed one of my applications causes trouble when user wants to save drawing.

AutoCAD pops a message :

akouchakzadeh_0-1719743479566.png

 

I couldn't figure out when this happens because some times this message pops up, some times not.
But I think its when the command stays in jig for a long time. Im not sure though.

My command is just a simple jig, it jigs a line, and adds it to the database along with a polyline on the line.

does any one have any idea what can cause this?

3 REPLIES 3
Message 2 of 4

It is difficult to suggest anything without seeing/knowing the code. It could be that there is entity not being added/opened to/from database correctly, or not disposed correctly, or with bad attribute data (XData/ExtensionDictionary...) attached.

 

However, you firstly have to identify the conditions when "sometimes this message pops up". If you can reliably reproduce the issue, you probably then will realize what is wrong in the code.

 

Norman Yuan

Drive CAD With Code

EESignature

Message 3 of 4

AUDIT?

Message 4 of 4

I tried to trace the issue based on what you suggested and you were right. it was caused by adding an object incorrectly to database. thanks for help sir.

thanks for your reply as well Tony.

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

Post to forums  

Forma Design Contest


AutoCAD Beta