I've got this routine, and it runs fine, but after it executes, I get "Unknown command "IBN"" twice. I can't figure out why it's doing that. Can someone take a look and let me know what they think?
Code:
(defun c:insertbundlenumber (/ ss j mode)
(COMMAND "-INSERT" "f:/apps/CCS_CAD/LABEL/1TEN_L" "S" "96" PAUSE PAUSE)
(COMMAND "EXPLODE" "L" "")
(COMMAND "CHPROP" "L" "P" "" "LA" (getvar "clayer") "" "")
(progn
(setq ss (ssadd))
(ssadd (entlast) ss)
(setq mode 0)
(setvar "highlight" 0)
(setq j (bns_trot ss mode))
);progn
(setvar "highlight" 1)
(princ);exit quietly
);defun
;;; SHORTCUT
(DEFUN C:IBN () (C:insertbundlenumber))
Thanks you all,