Hi,
I'm working on tool that export attributes from progecad to spreadhseet. My plan was to do it by VBA, but the command .getAttribute is much slower than the express tool attout. I would like to create a lisp routine that would call the attout and exported text file, iI found this code which work in AUTOCAD, but not in progecad. Can anyone help me convert it to intellicad lisp please? And also, Is there any good literature where I could learn basics of the intellicad lisp?
Thank you.
The error say:
error: LOAD failed
Command: _APPLOAD
(defun c:out-att ()
(load "attout")
(setq fna (strcat (getvar "dwgprefix")
(acet-filename-path-remove (acet-filename-ext-remove (getvar "dwgname")))
".txt"
))
(setq ss (ssget "X" '((0 . "INSERT") (66 . 1))))
(bns_attout fna ss)
)