06-20-2016
03:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-20-2016
03:01 PM
Since a flat pattern is 'generated' its not a simple matter to delete then turn around. Deleting the pattern, or creating the pattern, mess with the object ID's and therefor any drawing that may be using that part. HOWEVER... wrap your delete into a transaction, finish the transaction. Then if you want it back, Undo the transaction.
Dim trans As Inventor.Transaction = invApp.TransactionManager.StartTransaction(PartModel, "Delete Flat Pattern")
or something like that. with code for deleting, then
trans.end
invApp.TransactionManager.UndoTransaction
jvj