Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Obtain date file was last modified

Anonymous

Obtain date file was last modified

Anonymous
Not applicable

Hi,

Is there any way to obtain the date that a data file was last modified in the API? I know you can get latest version numbers but I cannot find a way to obtain the time and date this version was created if there is any.

0 Likes
Reply
Accepted solutions (1)
558 Views
2 Replies
Replies (2)

OceanHydroAU
Collaborator
Collaborator

I do not know your answer (sorry!), but, if I was looking myself, I would write code, set a breakpoint, and then use the IDE to inspect all the objects and their properties and methods looking to see if the info I need is hiding in there someplace.

Screen Shot 2020-06-08 at 10.51.29 pm.png

 

Failing that, I'd look to see if there's any filesystem info (outside of Fusion) that tell me what I need, then get the API to extract it directly, and failing that too, I'd read through (or grep) the included support files in the product to see that that lends clues.

 

Good luck!

0 Likes

Anonymous
Not applicable
Accepted solution

UPDATE FOR ANYONE LOOKING HERE FOR AN ANSWER:
Since august 2020 a new property was added to the DataFiles object in the Fusion API that now allows you to get th date of any file version. See here: https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-E3FF781C-2555-4FAF-81B1-95EBB9E66926

3 Likes