- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
*UPDATE* I solved this before posting, but thought I would post anyhow so google-search can help anyone else wondering this stuff.
I've done something this:
try:
section[ps]['foil']['patch']=patches.add(section[ps]['foil']['patchInput'])
except:
ps=ps+1 # try again, with the next one along
because there are occasions where the section I'm patching is too "twisted" to be patchable - which I can't find any easy way to determine in advance.
That works OK, except I end up with an unwanted item on the timeline:-
Can anyone think of a way to get rid of the thing that failed (preferably inside my exception handler)? It's throwing the exception, so I don't have a reference to try to delete of course...
Alternatively - is there a way to "snapshot and revert" or some other setting to prevent it half-creating that broken feature?
Solved! Go to Solution.