I'm trying to get multiple attribute values from a titleblock and put them together and print them on the screen. I'm having problems retrieving them from the title block. I've looked a little bit through the forums and on
www.smadsen.com, but I'm still confused. this is what I have so far. Please Help!!
(DEFUN QUICKJOBNAME ()
(setq jobtextpoint (list (24 -15))) ;determines placement of text
(getprojno) ;invokes getprojno
(getpnlno) ;invokes getpnlno
(Setq jobtext (strcat projno "-" pnlno)) ;adds the 2 strings together
(command "text" jobtextpoint jobtext "") ;puts text on screen
)
;;; HERE'S WHERE IM REALLY CONFUSED
(defun getprojno ()
(setq projent (handent "3a99")) ;handle?
(setq projentlist (entget projent)) ;?
(setq projno (cdr (assoc 1 projent))) ;?
)
(defun getpnlno ()
(setq pnlent (handent "3a9c")) ;handle?
(setq pnlentlist (entget pnlent)) ;?
(setq pnlno (cdr (assoc 1 pnlent))) ;?
)