Automatically insert Date in Attribute in title block

Automatically insert Date in Attribute in title block

bruno.girouxE9VW6
Explorer Explorer
8,891 Views
5 Replies
Message 1 of 6

Automatically insert Date in Attribute in title block

bruno.girouxE9VW6
Explorer
Explorer

I have a title block with a date attribute: %<\AcVar date \f "%#x">% which indicates the current date when I insert my title block but which, when I open my drawing a few days later, the date does not change for the current date. how to make sure that this attribute always indicates the current date on which the drawing is open. Thanks!!

0 Likes
Accepted solutions (4)
8,892 Views
5 Replies
Replies (5)
Message 2 of 6

user181
Mentor
Mentor
Accepted solution

You could use PlotDate or SaveDate but then it would only change when you plot or save. If you want to see the current date just when you open the drawing use Field Category: Other, Field Name: DieselExpression and enter $(edtime, $(getvar,date),MO/DD/YYYY)  in the window on the right under Diesel Expression

EESignature


0 Likes
Message 3 of 6

ebsoares
Collaborator
Collaborator
Accepted solution

Hi, @bruno.girouxE9VW6 

You could also revise your FieldEval bitcode variable, which would potentially be a solution for all fields in your drawings. Check out this post: Is there a way to automatically “update” all the “Fields”, specifically the third post by Murph.

Edgar

Message 4 of 6

Kent1Cooper
Consultant
Consultant
Accepted solution

You can also use that same Diesel expression:

  $(edtime, $(getvar,date),MO/DD/YYYY)

 

[or other configuration of the pieces] as the content in RTEXT.  This has the advantage over an Attribute that it doesn't need to be nested in something else, and the advantage [if it seems one to you] over a Field that it doesn't look  different from other Text or Mtext objects or Attributes.

Kent Cooper, AIA
Message 5 of 6

imadHabash
Mentor
Mentor
Accepted solution

Hi,

i suggest to follow this AKN article that guide you how to create a date field that is refreshed automatically. >> Click <<

 

Regards,

Imad Habash

EESignature

Message 6 of 6

dbroad
Mentor
Mentor

I would advocate for a manually controlled date that could be managed by a sheet set field or on a per drawing basis as text or a field related to a custom property in the drawing summary.  Current date fields can be confusing since they imply changes when none have been made.   Date fields that track when a file is created are also of little value.  Changes to released drawings should include a revision mark with a date and explanation of changes.  The original release date should be retained.  The plot date can be especially handy for internal pre-release management. I plot all my documents to PDF's so any reprinting by service bureaus would retain the original plot date. Any plot date earlier than the latest revision date would indicate an out-of-date set.

Architect, Registered NC, VA, SC, & GA.
0 Likes