0 Members and 1 Guest are viewing this topic.
Here is the iLogic rule we use (also attached as a TXT file): Dim odrawdoc As DrawingDocumentodrawdoc = ThisApplication.ActiveDocumentcustomPropertySet = odrawdoc.PropertySets.Item("Inventor User Defined Properties")Try prop = customPropertySet.Item("iLogicPrintDate")Catch customPropertySet.Add("", "iLogicPrintDate")End TryTryDim PlotDate As DatePlotDate = NowiProperties.Value("Custom", "iLogicPrintDate") = PlotDateCatchEnd TryInventorVb.DocumentUpdate() This code creates a custom iProperty called iLogicPrintDate, then reads the current date and stores it to that iProperty. We have some text in our drawing border that displays the values of several properties: drawing creator, iLogicPrintDate, and file path and name. This is what it looks like: