v19 DateTime function returning (null)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-08-18 05:03 PM
2015-08-18
05:03 PM
dstr = "" ch = OPEN ("DateTime", "", "%w/%m/%d/%Y, %H:%M%P") n = INPUT (ch, "", "", dstr) CLOSE (ch) PRINT dstr !it prints 3/03/27/1996, 14:36 PMPRINT GLOB_PROJECT_DATE also returns a set of zero's.
The routines have all been placed in the Master script.
Anyone else aware of this? I would have thought it was fairly critical as a routine. Has something changed recently and I've missed the memo?
I am running v19 on MAC 10.10.4
Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-09-19 11:24 AM
2015-09-19
11:24 AM
Hi,
this request works on my system. I tried it in both 3d and 2d (with text2), and both of them works. Please take care, that print command normally writes to your report window, it does not start a new window like a warning or error.
The global variable of the project date is only works with the energy evaulation, it only gets value by this addon's functions. In normal 2d or 3d it has no value.
Regards,
this request works on my system. I tried it in both 3d and 2d (with text2), and both of them works. Please take care, that print command normally writes to your report window, it does not start a new window like a warning or error.
The global variable of the project date is only works with the energy evaulation, it only gets value by this addon's functions. In normal 2d or 3d it has no value.
Regards,
_________________
Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE
Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-09-19 06:15 PM
2015-09-19
06:15 PM
Thanks for the response Gergely. Everything seems to be working in the final code, but I was getting the unexpected responses in the programming domain. It is a while since I flagged this up so my memory has forgotten what I was doing to get the null response. No problem, job signed off

Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)