08-13-2018
07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
08-13-2018
07:56 AM
PS. I would recommend that if you insist on continuing to delete unresolved files, that you wrap the whole method in a transaction, thereby giving the user a chance to undo the whole thing, otherwise (if there are a lot) it'll be a painful process to sit and click "Undo" repeatedly:
Dim trans As Transaction = ThisApplication.TransactionManager.StartTransaction(oAssemblyDocument, "Clean up unresolved files")
Try
'Do Stuff
trans.Commit()
Catch 'any errors
trans.Abort()
End Try![]()
----------------------------------------------------------------
Alex Fielder
Inventor Expert
https://github.com/alexfielder/
LinkedIn - Github Inventor Extension Server - Bonkers polygon iLogic thing
Top ten iLogic Tips - API Shortcut In Google Chrome - Assembly Extrusion Example
Alex Fielder
Inventor Expert
https://github.com/alexfielder/
LinkedIn - Github Inventor Extension Server - Bonkers polygon iLogic thing
Top ten iLogic Tips - API Shortcut In Google Chrome - Assembly Extrusion Example