[CommandMethod("DFL", CommandFlags.Session)]

加了CommandFlags.Session后就会出现 eLockviolation的错误。

************** 异常文本 **************
Autodesk.AutoCAD.Runtime.Exception: eInvalidContext
在 Autodesk.AutoCAD.DatabaseServices.Transaction.DeleteUnmanagedObject()
在 Autodesk.AutoCAD.Runtime.DisposableWrapper.!DisposableWrapper()
在 Autodesk.AutoCAD.Runtime.DisposableWrapper.Dispose(Boolean A_0)

----------------------------------------

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
相关资源
相似解决方案