Commandobill 发表于 2022-7-6 14:25:19

Entmakex致命错误

我当时正在摆弄entmakex,并试图创建一个mline(我最终实现了这一点)。但当我选择上述对象时,发生了致命错误,autocad关闭。我跑了几次,就这样发生了。知道为什么吗?

Commandobill 发表于 2022-7-6 14:35:57

没有人哦,这是我使用的代码的副本。。。
 
(entmakex '((0 . "MLINE")
(100 . "AcDbEntity")
(67 . 0)
(8 . "0")
(100 . "AcDbMline")
(2 . "STANDARD")
(40 . 1.0)
(70 . 0)
(71 . 1)
(72 . 2)
(73 . 2)
(10 -1.74644 3.64127 0.0)
(210 0.0 0.0 1.0)
(11 -1.74644 3.64127 0.0)
(12 0.999997 -0.0023447 0.0)
(13 0.0023447 0.999997 0.0)
(74 . 2)
(41 . 0.0)
(41 . 0.0)
(75 . 0)
(74 . 2)
(41 . -1.0)
(41 . 0.0)
(75 . 0)
(11 13.5136 3.60549 0.0)
(12 0.999997 -0.0023447 0.0)
(13 0.0023447 0.999997 0.0)
(74 . 2)
(41 . 0.0)
(41 . 0.0)
(75 . 0)
(74 . 2)
(41 . -1.0)
(41 . 0.0)
(75 . 0)
)
)

Commandobill 发表于 2022-7-6 14:40:27

真正奇怪的是,我可以毫无问题地“ssget”选择它。。。

Lee Mac 发表于 2022-7-6 14:45:51

测试da代码时,我没有出现致命错误。。。

Commandobill 发表于 2022-7-6 14:54:38

 
 
谢谢你试过选择它的多线吗?

Lee Mac 发表于 2022-7-6 15:00:54

是的,没什么不寻常的。

The Buzzard 发表于 2022-7-6 15:07:04

 
我是在命令提示符下看到的。
 
; error: Exception occurred: 0xC0000005 (Access Violation)
; warning: unwind skipped on exception
; error: Exception occurred: 0xC0000005 (Access Violation)

TimSpangler 发表于 2022-7-6 15:09:58

也为我崩溃了。如果我没记错的话(从adesk论坛上),有人谈论过不要将entmake用于mlines。改用vla addmline。
 
你可能想从那里开始。

Lee Mac 发表于 2022-7-6 15:17:23

它在2010年的工作方式很奇怪-可能是他们在以后的某个日期修复的东西…:眨眼:

Commandobill 发表于 2022-7-6 15:22:34

谢谢大家的意见。看来我选错了要捣乱的事。再次感谢!
页: [1] 2
查看完整版本: Entmakex致命错误