Admittedly I am not a LISP or VLISP guy. I know how to use very basic LISP, so I am asking for help from you gurus. I have this
(defun blkInDB (blkname layName);;;blkDBState
(setvar "cmdecho" 0)
(setq OldLayerName (getvar "clayer"))
(command "-layer" "m" layName "")
(command "-insert" blkname pause "1" "1" "0")
;;; set blkDBState here
(setvar "clayer" OldLayerName)
(setvar "cmdecho" 1)
(princ)
(princ)
(princ)
)
which I would like to make work with dynamic blocks. My
VBA thread is proving to be a huge PITA, so I am looking to LISP to see if it can be done. I know basically nothing about the VL stuff, so extreme guidance is needed if its possible. As you can see from my code, there is a lot that can be improved.