02-20-2020
03:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-20-2020
03:05 PM
Hi @william
This should work for you.
Also recall that there is the Inventor Customization forum , where programming questions of this type are better suited:
http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120
I'll ask the moderators to move this to that forum.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
oCustomPropertySet = ThisDoc.Document.PropertySets.Item("Inventor User Defined Properties")
Dim searchTerm As String
searchTerm = "Item"
For Each oProp In oCustomPropertySet
If oProp.name.Contains(searchTerm) Then
MessageBox.Show("We found: " & oProp.name _
& vbLf & "Now we're going to delete it!", "iLogic")
oProp.delete
End If
Next