Jump to content


Date field


1 reply to this topic

#1 Ivaylo Hristev

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 15 November 2013 - 11:01 AM

Hi everyone,
I am trying to insert a field with the current date. It should be updated automatically every time the document has been opened or printed; both methods will work fine for me. Does anyone know of a way to do that?

#2 Martin Clark

    Newbie

  • Members
  • Pip
  • 2 posts
  • LocationTownsville NQ Australia

Posted 25 December 2013 - 10:04 AM

I have been trying to find the answer to a similar problem. In AutoCAD date/time can be done with an RText script:

$(edtime, 0, DD MON"," YYYY - H:MM)

This works in NanoCAD if it is already in the drawing, but I can't find out how to edit it.

Another existing script doesn't work:

$(getvar, "dwgname")

I like using this in place of a drawing number. I require both to be auto-generated, so I don't want to do it in LISP. Maybe I'll have to remember how to do it in Javascript :-(





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users