Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This rule is making browser tree with some properties. It is working perfect if there is no special characters in material or description. My question is how to remove special characters like (, :& ) only from browser tree.
oDoc = ThisDoc.Document oSheets = oDoc.Sheets For Each oSheet In oSheets oSheet.activate oView = oSheet.DrawingViews.Item(1) modelName = oView.ReferencedDocumentDescriptor.ReferencedDocument oProp = modelName.PropertySets.Item("Design Tracking Properties") 'ocProp = modelName.PropertySets.Item("Inventor User Defined Properties") 'Custom property set ActiveSheet.Sheet.Name = oProp.Item("Part Number").Value & " " & oProp.Item("Description").Value '_ '& " " & "QTY" & " " & ocProp.Item("TTL").Value Next oSheets(1).activate iLogicVb.UpdateWhenDone = True
Solved! Go to Solution.