INSERT CURENT DATE INTO TEXT
INSERT CURENT DATE INTO TEXT
(OP)
ok i want set a button or something to place or replace the date or the following text ?month? dd, yyyy with the corect current date
any body done this before
any body done this before
if everyone helps everybody the world will be a better place





RE: INSERT CURENT DATE INTO TEXT
;------------------
; Routine: C:TODAY
; Description: Places current date text in selected location
;------------------
(defun c:today (/ layer ts ip)
(setq ip (getpoint "\nInsertion Pt: "))
(command "text" ip (getvar "textsize") "0"
(strcat (substr (rtos (getvar "cdate")) 3 2) "/"
(substr (rtos (getvar "cdate")) 5 2) "/"
(substr (rtos (getvar "cdate")) 7 2)
)
)
(princ)
);end c:today function
Tim
RE: INSERT CURENT DATE INTO TEXT
if everyone helps everybody the world will be a better place
RE: INSERT CURENT DATE INTO TEXT
If you want to update a title block, let me know what the attribute tag is for the date and the format for date and I'll send it to you. The format for the date is currently MM-DD-YY and the time is in military.
SEMott
Stephen E. Motichek
Project Consulting Services, Inc.