Tittlefield lacks date

Tittlefield lacks date

MatsNorway1
Collaborator Collaborator
1,585 Views
7 Replies
Message 1 of 8

Tittlefield lacks date

MatsNorway1
Collaborator
Collaborator

So i noticed that our documentation never gets updated with last saved date info on check in. How is this supposed to work?

MatsNorway1_0-1686919585949.png

I tried to check of in iproperties but none seemed to chance <sheet revision> etc.

I kinda want just last saved by me to be stored.

MatsNorway1_1-1686919724904.png

 

 

 

 

 

‌:nauseated_face: ‌:face_with_medical_mask: Fusion 360
0 Likes
Accepted solutions (2)
1,586 Views
7 Replies
Replies (7)
Message 2 of 8

johnsonshiue
Community Manager
Community Manager

Hi! There isn't a revision date in the standard iProperty. The one you highlighted is "Design State." You will need to create a custom iProperty to capture such date. I believe Vault (or a PDM solution) does have the ability to capture the revision date.

Many thanks!

 



Johnson Shiue ([email protected])
Software Test Engineer
0 Likes
Message 3 of 8

pcrawley
Advisor
Advisor

The iProperties (in your screenshot) are set manually, so unfortunately, you won't see them change when saving.

 

There is a "Last modified" property on the drawing file which records the last time you saved it (see the "General" tab of iProperties).  To access it though, you'll need a line of iLogic to push the date into either a custom iProp, or a standard iProp - whichever is your preference. 

 

I use a slightly simpler approach and grab the 'now' variable, capturing only the date (and you can mess with the formatting of the date easily by swapping the text around):

iProperties.Value("Custom", "Last Modified Date") = Date.Now.ToString("dd-MM-yyyy")

Set a trigger to run the rule "Before Save", and then save it into your drawing template.

 

You mention "check in" - are you using Vault?  If so, Vault Professional has a whole Revision table function.  If you're using any other version, then "Checked in" date would be a good property to search by, but not something you can write back to the drawing.

Peter
Message 4 of 8

MatsNorway1
Collaborator
Collaborator

Ì have never messed with code much. Only been making and filling in custom properties. Do i insert the code into the Titlefield text box? 

 

As an example:

MatsNorway1_0-1687158647810.png

 



I do use Vault. But i care more about the readable data for the everyday user.

‌:nauseated_face: ‌:face_with_medical_mask: Fusion 360
0 Likes
Message 5 of 8

89198826955
Collaborator
Collaborator
Accepted solution

Снимок.PNG

Снимок1.PNG

Снимок2.PNG

Message 6 of 8

MatsNorway1
Collaborator
Collaborator

MatsNorway1_0-1687163000856.pngMatsNorway1_1-1687163051211.png

I selected before save document but it seems to give no confirmation on it being active/saved or added as a rule.

 

‌:nauseated_face: ‌:face_with_medical_mask: Fusion 360
Message 7 of 8

89198826955
Collaborator
Collaborator

my opinion:

it is better to mark the change manually

this will prevent accidental saving

see topic"How to insert the PART Modification Date into the drawing"

0 Likes
Message 8 of 8

pcrawley
Advisor
Advisor
Accepted solution

It looks like you have both options now - automatic and manual.

Nice explanation for creating the rule @89198826955 - thank you for filling in all the bits I missed!

 

I followed your link: Solved: How to insert the PART Modification Date into the drawing - Autodesk Community - Inventor - However, reading the replies, it looks as though the other contributors would prefer an automatic option, so I'll post a link back here to this thread.

 

@MatsNorway1 - In your last screenshot, you don't appear to have added the rule under "Before Save Document". (Drag and drop the rule.) 

MatsNorway1_1-1687163051211.png

After you save your document, check the Custom iProperties.  You should find the new custom iProperty. 

Peter