- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using this rule to fill browser in idw and is working good, but now in another company we using special characters in material description. Would be possible to remove special characters.
oDoc = ThisDoc.Document
oSheets = oDoc.Sheets
For Each oSheet In oSheets
oSheet.activate
oView = oSheet.DrawingViews.Item(1)
modelName = oView.ReferencedDocumentDescriptor.ReferencedDocument
If modelName.DocumentType = DocumentTypeEnum.kPartDocumentObject 'Only set property based name for part views
oProp = modelName.PropertySets.Item("Design Tracking Properties")
ocProp = modelName.PropertySets.Item("Inventor User Defined Properties") 'Custom property set
ActiveSheet.Sheet.Name = oProp.Item("Material").Value & " " & " " & oProp.Item("Part Number").Value & " " & oProp.Item("Description").Value
End If
Next
oSheets(1).activate
Solved! Go to Solution.