TheSwamp
CAD Forums => CAD General => Topic started by: Bethrine on April 04, 2014, 03:49:17 PM
-
Does it exist?
How do I turn it on / adjust it? ...if it exists that is. :laugh:
-
From what I just found it must be done as iLogic:
Here is the iLogic rule we use (also attached as a TXT file):
Dim odrawdoc As DrawingDocument
odrawdoc = ThisApplication.ActiveDocument
customPropertySet = odrawdoc.PropertySets.Item("Inventor User Defined Properties")
Try
prop = customPropertySet.Item("iLogicPrintDate")
Catch
customPropertySet.Add("", "iLogicPrintDate")
End Try
Try
Dim PlotDate As Date
PlotDate = Now
iProperties.Value("Custom", "iLogicPrintDate") = PlotDate
Catch
End Try
InventorVb.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:
-
Next question: What is iLogic? :?
Found it, how / where do you learn it? I am not seeing this in the CAD Associates degree classes but maybe I am wrong?
-
Typically offered as an advanced class by the local reseller.
Or check the bottom of this page:
https://grabcad.com/questions/how-does-ilogic-based-rules-work-in-autodesk-inventor-part-deisgn (https://grabcad.com/questions/how-does-ilogic-based-rules-work-in-autodesk-inventor-part-deisgn)
-
Sweet! Thanks!