Message 1 of 5
TITLE BLOCK ATT UPDATE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
(defun c:DATE (/ init ctxt )
(setq date (getstring t "DATE : ")(setq init "JV")(setq ctxt "Changes made")))
(defun c:VERA () (setpropertyvalue (ssname (ssget "X" (list '(0 . "INSERT") '(2 . "TITLEBLOCK") (cons 410 (getvar 'ctab)))) 0) "INITA" (strcat init))
(setpropertyvalue (ssname (ssget "X" (list '(0 . "INSERT") '(2 . "TITLEBLOCK") (cons 410 (getvar 'ctab)))) 0) "CHANGESTEXTA" (strcat ctxt))
(setpropertyvalue (ssname (ssget "X" (list '(0 . "INSERT") '(2 . "TITLEBLOCK") (cons 410 (getvar 'ctab)))) 0) "DATEA" (strcat date)) (princ))
Please help me in this am noob in lisp,
my block name = TITLEBLOCK
Attributes are for version A = DATEA, CHANGESTEXTA, INITA and so on for other versions, (CHANGESTEXTA, INITA are common in all versions)
i want enter date in command line by entering DATE command, and then i need to use Command VERA, VERB... and so on.