angel066499 发表于 2019-11-9 14:11:39

为啥分解不了图块?


[*]插入一个图块,不知道为啥分解不了,哪位大神帮忙看看吗?
[*]
[*](progn (command "insert")
[*]      (command "c:\\11.dwg")
[*]      (command "R")
[*]      (command (angtos 0))
[*]      (command "X")
[*]      (command 1)
[*]      (command "Y")
[*]      (command 1)
[*](setq etlast(entlast))
[*](vl-cmdf "explode" etlast )
[*])


angel066499 发表于 2019-11-9 18:16:29

start4444 发表于 2019-11-9 15:19
插入了锁定的层?

不是呢,分步来做是可以炸开的,比如先插入图块了,再(setq etlast(entlast))       
        (vl-cmdf "explode" etlast )是可以的,就是合起来就不行了

angel066499 发表于 2019-11-10 23:20:17

烟盒迷唇 发表于 2019-11-10 08:59
(if (= 0 (getvar 'QAFLAGS))(command "_.explode" (entlast))(command "_.explode" (entlast) "") )这样才 ...

感谢您的意见,还是不能分解,您也可以做一个普通图块,帮忙试试哦,非常感谢!

烟盒迷唇 发表于 2019-11-10 08:59:29

(if (= 0 (getvar 'QAFLAGS))(command "_.explode" (entlast))(command "_.explode" (entlast) "") )这样才得

革天明 发表于 2019-11-9 14:26:14

检查是否多重块?

angel066499 发表于 2019-11-9 15:06:29

革天明 发表于 2019-11-9 14:26
检查是否多重块?

感谢您的回复,不是呢,就一个圆组的块

start4444 发表于 2019-11-9 15:19:02

插入了锁定的层?

lxw320 发表于 2019-11-9 19:37:01

在entlast前加一个delay

angel066499 发表于 2019-11-9 21:21:03

lxw320 发表于 2019-11-9 19:37
在entlast前加一个delay

系统没有这个函数哦!

烟盒迷唇 发表于 2019-11-10 08:50:37

与QAFLAGS这个系统变量有关,查一查吧。
页: [1] 2
查看完整版本: 为啥分解不了图块?