95
477
383
后起之秀
(defun c:mleaderdot (/ ss cnt obj *error*) (defun *error* (msg) (if (not (member msg '("Function cancelled" "quit / exit abort")) ) (princ (strcat "\nError: " msg)) ) (princ) ) (if (setq ss (LM:ssget "\nSelect MLEADERS to put dot" '(((0 . "MULTILEADER"))) ) ) (progn (setq cnt 0) (repeat (sslength ss) (setq obj (vlax-ename->vla-object (ssname ss cnt))) (setq cnt (+ cnt 1)) (vla-put-ArrowheadBlock obj "_dot") ) ) ) (princ))
使用道具 举报
11
98
87
初露锋芒
(vla-put-arrowheadtype ent "_dot")
(vla-put-arrowheadtype xEnt 3)
(vl-load-com) (defun c () (setq ent (car(entsel)) xEnt (vlax-ename->vla-object ent) aht (vla-get-arrowheadtype xEnt) i -1) (while (< (setq i (+ i 2)) 18) (setq str (strcat (rtos i 2) ". " (vla-get-arrowheadblock xEnt) " " (rtos (1+ i)) ". ")) (vla-put-arrowheadtype xEnt (1+ i)) (princ (strcat str (vla-get-arrowheadblock xEnt) "\n"))) (princ (strcat "19. " (vla-get-arrowheadblock xEnt) "\n")) (vla-put-arrowheadtype xEnt aht) (vla-put-arrowheadtype xEnt (getint "Enter the id of the arrow head you're looking for:")) )
106
1万
101
顶梁支柱
66
1552
1514
本版积分规则 发表回复 回帖后跳转到最后一页
微信公众平台
扫描访问手机版
点击图片下载手机App
|关于我们|小黑屋|乐筑天下 繁体中文
GMT+8, 2025-3-13 03:51 , Processed in 0.850752 second(s), 62 queries .
© 2020-2025 乐筑天下
在线时间:10:00-17:00
暂无
扫一扫,关注我们
帮助中心
关于我们
下载APP客户端