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

Error after running the dll

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
372 Views, 2 Replies

Error after running the dll

I have written a dll to convert the DBText content based on some rules. Everthing is working fine but after running the dll, if i run any other command in autocad, iam getting an error as below, Autodesk.AutoCAD.Runtime.Exception: eWasOpenForWrite. Can anyone please help me out from this issue? Thank you
2 REPLIES 2
Message 2 of 3
alberto_manero_geograma
in reply to: Anonymous

What I know thanks to my little experience is that you have to use transactions for almost all things you do (and finish them with the ".Commit").

 

Do you use a transaction in your code?

Luis Alberto Manero, Geograma.com
Message 3 of 3
Anonymous

Thank you, it is working now if trans.commit is used at the end

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost