Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

&todays_date won't show... well today's date :P

Status
Not open for further replies.

billylecaid

Mechanical
Dec 4, 2009
14
As my subject say's I can't get the &todays_date parameter to show me a date ( my syntax is correct ).

I've tried with other parameter such as &current_sheet and some more! They all work except this one

I've search around the web and I coudn't find a similar problem.

any idea ?

Thank you

_____________________________________

Me Fail English that's unpossible - Ralph Wiggum

 
Replies continue below

Recommended for you

Never heard of that one. Here's a long shot. How do you have the config option todays_date_note_format set? Maybe it has an invalid setting that is preventing &todays_date from working?
 
Is it displaying anything, or just the parameter name? It is possible that it could be fixed by adding todays_date_note_format to the config.pro. The value will be something like %Mmm-%dd-%yy
 
Are you putting it directly on the drawing or in a table cell? I have had some system parameters fail to display properly when directly on the drawing. Put it in a single cell table and it works fine.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
Thanks for your answers !


- todays_date_note_format is set to %dd-%Mmm-%yy ( wich is default )

- It does in fact display the parameter name: &todays_date

- I trying to create a new format ( in the format mode )
and I did put it in a note. ( insert > note )
Wich is the mhetod that I used for the other parameter !

I hope this help you and thank you again !

_____________________________________

Me Fail English that's unpossible - Ralph Wiggum

 
Are you trying to have the date change each time you open the drawing, or each time you replace the format?

The &todays_date will replace the parameter with the date at the time the format is first loaded. Future loading of the drawing will not change the date - this is the correct functionality of the parameter. The parameter will only work in a table on a format, not a drawing, and it will not update to a new date each time the file opens.

Hope this helps.
 
Yes it does! That's not what I wanted to achieve !

Well thank you have a nice day !

_____________________________________

Me Fail English that's unpossible - Ralph Wiggum

 
What are you trying to achieve?


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
Quote: "The parameter will only work in a table on a format, not a drawing"

That is not true. &todays_date will work in a drawing note, in a drawing symbol or in a drawing table as well as in formats. It will be evaluated immediately and replaced with .... drumroll .... TODAYS DATE! At which point it is no longer a parameter but just a text string.



billylecaid - did you ever get this figured out?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor