Message 1 of 6
Automating the process of importing a part as a reference to a part file and transfer all properties to iproperties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there,
I am trying to create a logic rule to automate importing a part as a reference (from Solidege/Solidworks/catia/pro-e) and then importing all the properties to the part file with logic; any ideas will be greatly appreciated.
I've found this.
' Assuming transfer a custom property named "PartNumber" from Solid Edge to Inventor Dim importedPart As PartDocument importedPart = ThisDoc.Document ' Access the custom property from Solid Edge Dim seProperty As String seProperty = importedPart.PropertySets.Item("Custom Properties").Item("PartNumber").Value ' Transfer the property to an Inventor custom property ThisDoc.Document.PropertySets.Item("Inventor User Defined Properties").Add("PartNumber", seProperty)