Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello. I would like your help .
How to delete only one specific OLE reference from an IPT file?
It has 2 3rd Party PDF reference and want to delete only one.
I`m using below code, but it deletes all files. but I want to delete only item (A.pdf)
Dim oDoc As Inventor.Document Dim ref As Inventor.ReferencedOLEFileDescriptor oDoc = ThisApplication.ActiveDocument For Each ref In oDoc.ReferencedOLEFileDescriptors ref.Delete 'delete reference Next
Solved! Go to Solution.