明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1161|回复: 14

[讨论] 为啥分解不了图块?

[复制链接]
发表于 2019-11-9 14:11 | 显示全部楼层 |阅读模式
  • 插入一个图块,不知道为啥分解不了,哪位大神帮忙看看吗?
    • (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 )
    •   )


 楼主| 发表于 2019-11-9 18:16 | 显示全部楼层
start4444 发表于 2019-11-9 15:19
插入了锁定的层?

不是呢,分步来做是可以炸开的,比如先插入图块了,再(setq etlast(entlast))       
        (vl-cmdf "explode" etlast )是可以的,就是合起来就不行了
 楼主| 发表于 2019-11-10 23:20 | 显示全部楼层
烟盒迷唇 发表于 2019-11-10 08:59
(if (= 0 (getvar 'QAFLAGS))(command "_.explode" (entlast))(command "_.explode" (entlast) "") )这样才 ...

感谢您的意见,还是不能分解,您也可以做一个普通图块,帮忙试试哦,非常感谢!
发表于 2019-11-10 08:59 | 显示全部楼层
(if (= 0 (getvar 'QAFLAGS))(command "_.explode" (entlast))(command "_.explode" (entlast) "") )这样才得
发表于 2019-11-9 14:26 | 显示全部楼层
检查是否多重块?
 楼主| 发表于 2019-11-9 15:06 | 显示全部楼层
革天明 发表于 2019-11-9 14:26
检查是否多重块?

感谢您的回复,不是呢,就一个圆组的块
发表于 2019-11-9 15:19 | 显示全部楼层
插入了锁定的层?
发表于 2019-11-9 19:37 | 显示全部楼层
在entlast前加一个delay
 楼主| 发表于 2019-11-9 21:21 | 显示全部楼层
lxw320 发表于 2019-11-9 19:37
在entlast前加一个delay

系统没有这个函数哦!
发表于 2019-11-10 08:50 | 显示全部楼层
与QAFLAGS这个系统变量有关,查一查吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-4-26 17:05 , Processed in 0.453691 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表