Not applicable
08-09-2018
05:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following code which works well, but I want to delete the notes on only sheet 2 rather than each sheet.
SyntaxEditor Code Snippet
Dim invApp As Inventor.Application invApp = ThisApplication Dim oDrawDoc As Document oDrawDoc = invApp.ActiveEditDocument For Each oSheet In oDrawDoc.Sheets For Each oGeneralNote In oSheet.DrawingNotes.GeneralNotes oGeneralNote.Delete Next For Each oLeaderNote In oSheet.DrawingNotes.LeaderNotes oLeaderNote.Delete Next Next
Solved! Go to Solution.