95
477
383
后起之秀
(defun c:break2 ( / ent)(setq ent (entsel "\nSelect Object: ")); Has user select object(if (and ent (= "Pline" )) (princ "Break Point") (command "_.break" pause "_f") (princ "\nBreak point: ") (command pause "@") )(if (and ent (= "Feature Line" ))(princ "._AeccBreakFeatures")(command "_.break" pause "_f") (princ "\nBreak point: ") (command pause "@") )(princ))
使用道具 举报
12
395
384
初露锋芒
(defun c:break2 ( / ent)(setq ent (car (entsel "\nSelect Object: "))); Has user select object(if (= (setq enttype (cdr (assoc 0 (entget ent)))) "LWPOLYLINE") (progn (princ "Break Point") (command "_.break" pause "_f") (princ "\nBreak point: ") (command pause "@") )(if (= enttype "AECC_FEATURE_LINE")(princ "._AeccBreakFeatures")(command "_.break" pause "_f") (princ "\nBreak point: ") (command pause "@") ) )(princ))
0
301
初来乍到
(defun c:break2 ( / ent)(setq ent (car (entsel "\nSelect Object: "))); Has user select object (cond (= enttype "AECC_FEATURE_LINE")(princ "._AeccBreakFeatures")(command "_.break" pause "_f") (princ "\nBreak point: ") (command pause "@") ) (t (princ "Break Point") (command "_.break" pause "_f") (princ "\nBreak point: ") (command pause "@") ) )(princ))
17
1274
25
106
1万
101
顶梁支柱
55
402
357
(defun c:brk (/ a b) (if (setq a (car (entsel "\nSelect Object : "))) (progn (setq b (cdr (assoc 0 (entget a)))) (cond ((eq b "LWPOLYLINE") (command "_.break" a pause "@") ) [color="red"][b]([/b][/color]t (command "_.break" a pause "@")[color="red"][b])[/b][/color] [b][color="blue"]; edit here as per your requirement[/color][/b] ) ) ) (princ))
本版积分规则 发表回复 回帖后跳转到最后一页
微信公众平台
扫描访问手机版
点击图片下载手机App
|关于我们|小黑屋|乐筑天下 繁体中文
GMT+8, 2025-3-12 23:28 , Processed in 0.443617 second(s), 83 queries .
© 2020-2025 乐筑天下
在线时间:10:00-17:00
暂无
扫一扫,关注我们
帮助中心
关于我们
下载APP客户端