Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I've found this lisp online
(defun c:foo (/ p)
(and (setq p (getpoint "\nPick a point: "))
(setq p (entmakex (list '(0 . "TEXT")
'(100 . "AcDbEntity")
'(8 . "text")
'(100 . "AcDbtext")
(cons 10 p)
'(40 . 0.125) ; text height
'(1 . "%<\\AcVar Date \\f \"dd/MM/yyyy HH:mm:ss\">%")
)
)
)
(command "_updatefield" p "")
)
(princ)
)
And I have made changes to date and time format.
I dont know lisp programming, nad I would like it to write that date and time format to mtext and not as a field.
Can someone help?
Many thanks
Solved! Go to Solution.