Jump to content

default date in textfield


Recommended Posts

Does anyone know whether it is possible to have something like "default date = now" in a textfield ? I want to have the printdate automatcally updated on a sheet layer when printed or published.

Pas possible.

The best thing you can do is to write a script that sets the current date into a field of your drawing border.

In fact you could even add the publish command to it as well so you have your custom command that sets the correct date, then prompts you the publish dialog. This makes sure you don't forget to set the correct date prior to publishing.

On the other hand, there are some tools running around the web offering such capabilties, for a small price.

Link to comment

Thanks for your reply. I already feared that there is no easyer way, although I think this should be standard to the database that is beyond the record formats.

Up to now I haven't worked with scripting in VW at all, and my knowledge of python is reduced to "hello world".

Maybe this will be a first script to start with...

Salutations de l'autre côté de la frontière ;-)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...