如何炸開(分解)CAD多重插入塊

新建一個空白文本文檔,然后將下面“紅色”代碼復(fù)制到里面并保存,將文件名以及后綴名改成unlk.lsp

[code]文章源自四五設(shè)計網(wǎng)-http://www.wasochina.com/32595.html

(defun c:unlk (/ en ent)
(setq en (entsel "\n請選擇被加密的圖形:"))
(if en
(if (= (cdr (assoc 0 (setq ent (cdr (entget (setq en (car en)))))))
"INSERT"
)
(progn
(setq ent (entmakex
(list '(0 . "INSERT")
(assoc 2 ent)
(assoc 10 ent)
)
)
)
(command "_.explode" (entlast))
(entdel en)
)
)
)
(princ "\nOK,解密成功。")
(princ)
)文章源自四五設(shè)計網(wǎng)-http://www.wasochina.com/32595.html

[/code]文章源自四五設(shè)計網(wǎng)-http://www.wasochina.com/32595.html

先打開無法分解的圖紙,然后找到 工具→加載應(yīng)用程序,然后找到“unlk.lsp”那個文件點(diǎn)一下,然后點(diǎn)擊“加載”按鈕,對話框左下角提示”加載成功“,然后點(diǎn)擊“關(guān)閉”按鈕;文章源自四五設(shè)計網(wǎng)-http://www.wasochina.com/32595.html

然后輸入命令 unlk 空格,然后點(diǎn)一下圖形,就大功告成了!文章源自四五設(shè)計網(wǎng)-http://www.wasochina.com/32595.html

如果一次不成,就多用幾次unlk,因?yàn)橛昧硕啻我每臁?span id="vxztdj5" class="beupset39">文章源自四五設(shè)計網(wǎng)-http://www.wasochina.com/32595.html 文章源自四五設(shè)計網(wǎng)-http://www.wasochina.com/32595.html

我的微信
微信掃一掃
weinxin
我的微信
惠生活福利社
微信掃一掃
weinxin
我的公眾號
 

發(fā)表評論

匿名網(wǎng)友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

拖動滑塊以完成驗(yàn)證