09-19-2022
05:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-19-2022
05:03 AM
you can use this for start, it assumes that last feature will be EOP so it will delete one before:
of course you can extend code and check if that feature what you wanted comparing name of feature and assembly name it should be traceable, but if the processs is always the same so you immport assembly to part it should work.
Dim oPartDoc As PartDocument = ThisApplication.ActiveDocument
Dim oTopBrowserNode As BrowserNode= oPartDoc.BrowserPanes.ActivePane.TopNode
Dim onode As BrowserNode = oTopBrowserNode.BrowserNodes.Item(oTopBrowserNode.BrowserNodes.Count - 1)
onode.NativeObject.Delete