I'm trying to customise my drawing templates to keep them up to date and also include accountability.
I seem to be having trouble in including the name of the person who has last saved the model, and the date the model was last saved.
Manually including this information isn't ideal as people will forget, and it makes it harder to trace revisions.
I can't see anywhere on the iProperties where the 'Last saved by' feature is available, but I thought maybe the information could be pulled from the username from the application options?
The last saved date should be easy, as there is a modified date in the model's iproperties; however, I cannot pull this information.
I have used other cad packages in the past and this was never an issue.
With all the customisation of Inventor, I thought this would be relatively straight forward.
Has anyone encountered this problem before or found a solution to it?
I created a revision tracker for a client once, it checks if there is an ACAD version on file, and if so, will increment a revision if a certain amount of time has passed.
This prevents incrimenting revisions when you make a few changes within a short time.
The date code will help you, and yes, you should be able to pull the user automatically as well.
Hope this helps a bit.
T.S.
Hi tsreagan, Thanks for your response and for sharing your tracker.
I did a bit more searching and came across this article which pretty much covers both aspects of my problem.
http://inventortrenches.blogspot.ie/2011/01/use-ilogic-to-fill-out-your-title-block.html
You can add this code to an iLogic Rule that can be set to autorun on save:
iProperties.Value("Custom","User") = ThisApplication.UserName iProperties.Value("Custom","Timestamp") = Now.ToString("MM/dd/yyyy hh:mm tt")
ThisDoc.Update
You can then reference these iProperties in the titleblock. That way you can see who saved it last and when on all prints.
Regards, Matt.