找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 692|回复: 9

[软件应用] 请教下如何关闭晓东工具箱随cad启动

[复制链接]

已领礼包: 4个

财富等级: 恭喜发财

发表于 2020-6-4 11:08:34 | 显示全部楼层 |阅读模式
悬赏20D豆未解决
由于工具箱跟一个别的软件冲突,请教下如何关闭晓东工具箱随cad启动,以及如果不随cad启动的话如何手动启动

论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!

已领礼包: 40个

财富等级: 招财进宝

发表于 2020-6-4 14:13:24 | 显示全部楼层
不如说下是怎么冲突,解决掉这个
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复

使用道具 举报

发表于 2020-6-4 20:09:44 | 显示全部楼层
你可以把另一个软件卸载啊
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复

使用道具 举报

已领礼包: 408个

财富等级: 日进斗金

发表于 2020-6-5 08:09:19 | 显示全部楼层
newer 发表于 2020-6-4 14:13
不如说下是怎么冲突,解决掉这个

晓东工具箱和cad自带的express tool冲突,我想使用express tool自带的文字自动编号,选择数字后命令行显示objects were not in the current space.希望改进下,其余没测试。已经在虚拟机试验过,确实是晓东工具箱引起的,没装晓东工具箱前,express tool是可以用的,装后用不了,测试环境:win10 64 位 1909版,cad2020

这个不知道解决了没,20200518版是没有解决
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复

使用道具 举报

已领礼包: 19个

财富等级: 恭喜发财

发表于 2020-6-5 08:12:03 | 显示全部楼层
kyky1002 发表于 2020-6-5 08:09
晓东工具箱和cad自带的express tool冲突,我想使用express tool自带的文字自动编号,选择数字后命令行显 ...

EXPRESS 里面的文字自动编号是哪个命令? 在哪个菜单下面?
晓东工具箱和论坛有好多自动编号的吧
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复

使用道具 举报

已领礼包: 19个

财富等级: 恭喜发财

发表于 2020-6-5 09:56:39 | 显示全部楼层
kyky1002 发表于 2020-6-5 08:09
晓东工具箱和cad自带的express tool冲突,我想使用express tool自带的文字自动编号,选择数字后命令行显 ...

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2.                                         ;bns_get_tcountmode_cmd - command line prompter for bns_get_tcountmode
  3.                                         ;
  4. (defun bns_get_tcountmode_cmd (/ a r)
  5.   (if (not #bns_tcount_mode)
  6.     (setq #bns_tcount_mode "Prefix")
  7.   )                                        ;if
  8.   (if (not #bns_tcount_replace)
  9.     (setq #bns_tcount_replace "")
  10.   )                                        ;if
  11.   (initget "Overwrite Prefix Suffix Find&replace")
  12.   (setq        a
  13.          (getkword
  14.            (acet-str-format
  15.              "\nPlacement of numbers in text [Overwrite/Prefix/Suffix/Find&replace..] < %1>: "
  16.              #bns_tcount_mode
  17.            )                                ;acet-str-format
  18.          )                                ;getkword
  19.   )                                        ;setq
  20.   (if (or (not a) (equal a ""))                ;or
  21.     (setq a #bns_tcount_mode)                ;setq then
  22.   )                                        ;if
  23.   (setq #bns_tcount_mode a)
  24.   (if (equal a "Find&replace")
  25.     (progn (setq r "")
  26.            (while (equal r "")
  27.              (setq r (getstring        T
  28.                                 (strcat        "\nEnter search string <"
  29.                                         #bns_tcount_replace
  30.                                         ">: "
  31.                                 )
  32.                      )
  33.              )                                ;setq
  34.              (if (not (equal r ""))
  35.                (setq #bns_tcount_replace r) ;setq then
  36.                (setq r #bns_tcount_replace) ;setq else
  37.              )                                ;if
  38.              (if (equal r "")
  39.                (princ "*Invalid* Empty search string not allowed.")
  40.              )                                ;if
  41.            )                                ;while
  42.     )                                        ;progn then
  43.   )                                        ;if
  44.   #bns_tcount_mode
  45. )                                        ;defun bns_get_tcountmode_cmd
  46. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  47.                                         ;
  48. (defun bns_tcount
  49.        (ss ss_sort start inc mode str / a na e1 e2 n lst b j)
  50.   (if (not (equal "Select-order" ss_sort))
  51.     (progn
  52.       (cond
  53.         ((equal "X" ss_sort)
  54.          (setq ss (bns_esort ss
  55.                              '((e1) (car (cdr (assoc 10 e1))))
  56.                                         ;quoted function for x
  57.                   )
  58.          )                                ;setq
  59.         )                                ;cond #1
  60.         ((equal "Y" ss_sort)
  61.          (setq
  62.            ss (bns_esort ss
  63.                          '((e1) (* -1.0 (cadr (cdr (assoc 10 e1)))))
  64.                                         ;quoted function for y
  65.               )
  66.          )                                ;setq
  67.         )                                ;cond #2
  68.         ((equal "Z" ss_sort)
  69.          (setq ss (bns_esort ss '((e1) (caddr (cdr (assoc 10 e1))))))
  70.                                         ;setq
  71.         )                                ;cond #3
  72.       )                                        ;cond close
  73.     )                                        ;progn then
  74.   )                                        ;if
  75.   (setq j 0)
  76.   (setq n 0)                                ;setq
  77.   (repeat (sslength ss)
  78.     (setq na (ssname ss n)
  79.           e1 (entget na)
  80.           e2 e1
  81.     )                                        ;setq
  82.     (cond ((equal "TEXT" (cdr (assoc 0 e1)))
  83.            (setq a (itoa start))
  84.            (setq a (place_tcount
  85.                      (cdr (assoc 1 e1))        ;the original
  86.                      a                        ;the number
  87.                      mode
  88.                      str                ;Search string to use if
  89.                    )                        ;mode=Find&replace
  90.            )                                ;setq
  91.            (entmod (subst (cons 1 a) (assoc 1 e1) e1) ;subst
  92.            )                                ;entmod
  93.           )                                ;cond #1
  94.           ((equal "MTEXT" (cdr (assoc 0 e1)))
  95.                                         ;first build one big string from the 3 and 1 group codes
  96.            (setq a "")
  97.            (foreach x e1
  98.              (if (= (car x) 3)
  99.                (setq a (strcat a (cdr x)))
  100.              )
  101.            )                                ;foreach
  102.                                         ;then split it apart using \\p  (paragraph) as a delimiter
  103.            (setq a   (strcat a (cdr (assoc 1 e1)))
  104.                  lst (acet-str-to-list "\\P" a)
  105.                  b   ""
  106.            )                                ;setq
  107.                                         ;then make the number additions and build one big string again.
  108.            (foreach x lst
  109.              (setq a (itoa start))
  110.              (setq a (place_tcount
  111.                        x                ;the original
  112.                        a                ;the number
  113.                        mode
  114.                        str                ;Search string to use if
  115.                      )                        ;mode=Find&replace
  116.                    b (strcat b "\\P" a)
  117.              )                                ;setq
  118.              (setq start (+ start inc))        ;setq
  119.            )                                ;foreach
  120.            (setq start (- start inc))        ;setq
  121.            (setq b   (substr b 3)
  122.                  lst nil
  123.            )                                ;setq
  124.                                         ;the rebuild the e-list without the 3 and 1 group codes.
  125.            (foreach x e1
  126.              (if (and (/= (car x) 3) (/= (car x) 1)) ;and
  127.                (setq lst (append lst (list x)))
  128.              )
  129.            )                                ;foreach
  130.                                         ;split the new big string apart and place in the elist as 3 and 1 group codes.
  131.            (setq e1 lst)
  132.            (while (> (strlen b) 250)
  133.              (setq e1 (append e1 (list (cons 3 (substr b 1 250))))
  134.                                         ;append
  135.                    b  (substr b 251)
  136.              )                                ;setq
  137.            )                                ;while
  138.            (setq e1 (append e1 (list (cons 1 b)))) ;setq
  139.            (entmod e1)
  140.           )                                ;cond #2
  141.           ((equal "ATTDEF" (cdr (assoc 0 e1)))
  142.            (setq a (itoa start))
  143.            (setq a (place_tcount
  144.                      (cdr (assoc 2 e1))        ;the original
  145.                      a                        ;the number
  146.                      mode
  147.                      str                ;Search string to use if
  148.                    )                        ;mode=Find&replace
  149.            )                                ;setq
  150.            (setq a (acet-str-replace " " "" a))
  151.                                         ;spaces are not allowed in attdefs so remove them
  152.            (entmod (subst (cons 2 a) (assoc 2 e1) e1) ;subst
  153.            )                                ;entmod
  154.           )                                ;cond #3
  155.     )                                        ;cond close
  156.     (if        (not (equal e2 (entget (cdr (assoc -1 e2)))))
  157.       (setq j (+ j 1))
  158.     )
  159.     (setq n (+ n 1))                        ;setq
  160.     (setq start (+ start inc))                ;setq
  161.   )                                        ;repeat
  162.   j
  163. )                                        ;defun bns_tcount
  164. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  165.                                         ; TCOUNT  TEXT COUNT
  166. (defun c:tcount        (/ ss_sort ss start inc startinc flag flt n)
  167.   (acet-error-init
  168.     (list (list        "cmdecho"
  169.                 0
  170.                 "highlight"
  171.                 (getvar "highlight")
  172.                 "limcheck"
  173.                 0
  174.           )                                ;list
  175.           T
  176.     )                                        ;list
  177.   )                                        ;acet-error-init
  178.   (setq        flt '((-4 . "<OR")
  179.               (0 . "TEXT")
  180.               (0 . "MTEXT")
  181.               (0 . "ATTDEF")
  182.               (-4 . "OR>")
  183.              )
  184.   )                                        ;setq
  185.   (if (and (setq ss (ssget flt))        ;setq
  186. ;;;         (setq ss (car (acet-ss-filter (list ss
  187. ;;;                                             '(("LAYERUNLOCKED") ;Dis-allow locked layers, non-current-space
  188. ;;;                                               ("CURRENTUCS")    ;and dis-allow objects not in current ucs
  189. ;;;                                              )
  190. ;;;                                             T
  191. ;;;                                       );list
  192. ;;;                       );acet-ss-filter
  193. ;;;                  );car
  194. ;;;         );setq
  195.       )                                        ;and
  196.     (progn
  197.       (if (not #bns_tcount_sort)
  198.         (setq #bns_tcount_sort "Select-order")
  199.       )                                        ;if
  200.       (initget "X Y Select-order")
  201.       (setq ss_sort
  202.              (getkword
  203.                (acet-str-format
  204.                  "\nSort selected objects by [X/Y/Select-order] <%1>: "
  205.                  #bns_tcount_sort
  206.                )                        ;acet-str-format
  207.              )                                ;getkword
  208.       )                                        ;setq
  209.       (if (or (not ss_sort) (equal ss_sort "")) ;or
  210.         (setq ss_sort #bns_tcount_sort)        ;setq then
  211.         (setq #bns_tcount_sort ss_sort)        ;setq else
  212.       )                                        ;if
  213.       (if (not #bns_tcount_start)
  214.         (setq #bns_tcount_start 1)
  215.       )                                        ;if
  216.       (if (not #bns_tcount_inc)
  217.         (setq #bns_tcount_inc 1)
  218.       )                                        ;if
  219.       (while (not flag)
  220.         (setq flag T)
  221.         (setq startinc (strcat (itoa (fix #bns_tcount_start))
  222.                                ","
  223.                                (itoa (fix #bns_tcount_inc))
  224.                        )                ;strcat
  225.               startinc (getstring
  226.                          (acet-str-format
  227.                            "\nSpecify starting number and increment (Start,increment) <%1>: "
  228.                            startinc
  229.                          )                ;acet-str-format
  230.                        )                ;getstring
  231.         )                                ;setq
  232.         (if (equal startinc "")
  233.           (setq        startinc (strcat (itoa (fix #bns_tcount_start))
  234.                                  ","
  235.                                  (itoa (fix #bns_tcount_inc))
  236.                          )                ;strcat
  237.           )                                ;setq
  238.         )                                ;if
  239.         (setq startinc (acet-str-to-list "," startinc))
  240.         (if
  241.           (or
  242.             (not (car startinc))
  243.             (not (numberp (read (car startinc))))
  244.             (and (cadr startinc) (not (numberp (read (cadr startinc)))))
  245.                                         ;and
  246.           )                                ;or
  247.            (progn (princ "\nInvalid input.") (setq flag nil))
  248.                                         ;progn then
  249.         )                                ;if
  250.         (setq start (atoi (car startinc))) ;setq
  251.         (if (cadr startinc)
  252.           (setq inc (atoi (cadr startinc))) ;setq then
  253.           (setq inc 1)                        ;setq else
  254.         )                                ;if
  255.         (if start
  256.           (setq #bns_tcount_start start)
  257.         )                                ;if
  258.         (if (or (not inc) (equal inc 0)) ;or
  259.           (setq inc #bns_tcount_inc)        ;setq then
  260.         )                                ;if
  261.         (if inc
  262.           (setq #bns_tcount_inc inc)
  263.         )                                ;if
  264.       )                                        ;while
  265.       (bns_get_tcountmode_cmd)
  266.       (setq n (bns_tcount
  267.                 ss                        ;the selection set
  268.                 ss_sort                        ;the sort type
  269.                 start                        ;the start number
  270.                 inc                        ;the increment
  271.                 #bns_tcount_mode        ;placement mode =overwrite/prefix/suffix/find&replace
  272.                 #bns_tcount_replace        ;search string for Find&replace option.
  273.                )
  274.       )                                        ;setq
  275.       (princ (acet-str-format "\n%1 objects modified." (itoa n)))
  276.       (if ss
  277.         (command "_.select" ss "")
  278.       )                                        ;if
  279.     )                                        ;progn then
  280.   )                                        ;if
  281.   (acet-error-restore)
  282. )                                        ;defun c:tcount

论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复

使用道具 举报

发表于 2021-9-5 10:21:03 | 显示全部楼层
晓东工具箱和探索者的 填充材料 命令(JZHTCHCL)也冲突,提示是
调用(*push-error-using-command*)前无法从 *error* 调用(command)。
建议将(command)调用转换为(command-s)。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-4-20 00:06 , Processed in 0.411886 second(s), 41 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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