Hello, we recently just upgraded from AutoCAD 2005 to AutoCAD 2007. We have been using some .lisp routines that use slide libraries (created way back in 1996). For some reason the slides do not show up in 2007. Does anybody know what has changed with this since acad 2005? I'm having trouble fixing this problem because our lisp routine uses a command I can not find any help on. It is called (menucmd....
Here is one lisp routine we are using...
Code:
(DEFUN C:SEC( / oldecho size a sect pt cal ans)
(setq oldecho(getvar "CMDECHO"))
(setvar "CMDECHO" 0)
(setq size (* 0.75 (getvar "DIMSCALE")))
(setq a 1)
(while (/= a nil)
(menucmd "I=CUSTOM.SECTIONS")
(setq sect(getstring "Select section arrow: "(menucmd "I=*")))(terpri)
(setq pt(getpoint "Select insertion point: "))(terpri)
(setq cal(getstring "Enter section letter:<A> "))(terpri)
(if (= cal "")
(setq cal "A")
)
(setq cal(strcase cal))
(setq insec(strcat"c:/PROGRAM FILES/Acadlisp/"sect))
(SETVAR "ATTDIA" 0)
(command "insert" insec pt size "" "0" cal)
(SETVAR "ATTDIA" 1)
(initget "Y N")
(setq ans(getkword "Would you like to draw another <N>: "))(terpri)
(if (= ans "")
(setq ans "Y")
)(terpri)
(if (= ans "Y")
(setq a 2)
(setq a nil)
)
)
(setvar "CMDECHO" oldecho)
)