09-22-2024
12:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-22-2024
12:23 AM
I can run this rule manually after new drawing but if I put it into the trigger or reference it with any rule triggered by new drawing I get the cable and harness error
Dim oSheet As Sheet If MyBooleanParam = True Then oSheet = ThisDoc.Document.Sheets.Item(2) oSheet.Delete Else Try oSheet = ThisDoc.Document.Sheets.Item(1) oSheet.Delete Catch MessageBox.Show("2nd sheet not found?", "iLogic") Return End Try End If