04-29-2020
08:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-29-2020
08:39 AM
I am using ilogic to add custom iproperties to existing files as we modify them and I am stumped on how to get the custom iproperty to come in as Date instead of Text.
This is the ilogic that I have created. It adds the custom iproperty as Text and I am hoping to add it as Date. What do I need to add or change to the ilogic that will add these properties as a Date type?
customPropertySet = ThisDoc.Document.PropertySets.Item("Inventor User Defined Properties") Dim iprop(2) As String iprop(1) = "Released for Construction" iprop(2) = "Released for Review" Try prop = customPropertySet.Item(iprop(1)) prop = customPropertySet.Item(iprop(2)) Catch customPropertySet.Add("", iprop(1)) customPropertySet.Add("", iprop(2)) End Try
Solved! Go to Solution.