By Clint Brown
I was asked if it is possible to automatically change the "Creation Date" on a drawing, to today's date. The drawing border in question uses the iProperty "Creation Date" as the "date field" shown on the drawing.
This is not something that you would want to do all of the time, but it is possible. There are 2 methods, manually via iProperties, or via 3 simple lines of code in iLogic. The code used is shown below, and the animated GIF shows the rule (called "Date" in action).
oTime = Now.ToShortDateString iProperties.Value("Project", "Creation Date") = oTime iLogicVb.UpdateWhenDone = True
Comments
0 comments
Please sign in to leave a comment.