0 Members and 1 Guest are viewing this topic.
(mapfilter "#107 = ? | #39 = # | #20 = ?")(mapfilter (strcat "#20=" LSPvar))? text# = integerLSPvar = LISP variable| or (shift+\)& and! not= equals
(mapfilter "#5026=*SA*'=866|#5026=*SA*'=12")
(mapfilter "#5025 = #57 | #5025 = #62" sset)
(defun c:ccfilter () (setq ss1(mapfilter "#5026=*SA*'=866")) (setq ss2(mapfilter "#5026=*SA*'=12")) (setq ss3 ss1 n (sslength ss2) ) (while (> n 0) (setq n (1- n) ss3 (ssadd (ssname ss2 n) ss3) ) ) (createcam ss3))
OK, now if I wanted to take this a step further...I know there's no way to use a macro to input the filename when it asks me what to save the MAJ as. Can this be done through a LISP?Also, sometimes we may have a job where we do not use a service we normally use. However, if no items are found it will select the previous set, which could lead to some parts getting fabbed twice. Is there a way to set the selection to none before running each mapfilter so this doesn't happen?