Remove Unused Clips v1.1
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Antony Nasce
Removes any Clips not used in Sequences in a Hiero Project
Requirements:
6.3, 7.0 or later
Linux, Mac, Windows
6.3, 7.0 or later
Linux, Mac, Windows


Purge Unused Clips - Removes any unused Clips from a Project
Usage: Copy to ~/.hiero/Python/StartupUI
Demonstrates the use of hiero.core.find_items module
Usage: Right-click on an item in the Bin View > "Purge Unused Clips"
Result: Any Clips not used in a Sequence in the active project will be removed
Requires Hiero 1.5v1 or later.
Please login in order to download these files.
Comments
Does this work in 1.6v1 or does it just take very long time to purge 46 clips? Tried twice but killed it after 5 minutes of spinning blue circle in win 7.
Cheers
Traceback (most recent call last):
File "/ohufx/pipelin e/tools/hiero/P ython/StartupUI /Purge.py", line 106, in PurgeUnused
B = BI.parentBin()
RuntimeError: Object does not have a parent bin.
try: B = BI.parentBin()
except: pass
I wouldn't want to throw a catch-all except block in there which might only suppress a symptom rather than fix the problem
This error happened when the project have repeated clips.
for example, project has a clip Clip('aaa'), for some reason, it is added to project again(maybe by script). Then the project has two clips, but they are the same one. When you begin to remove all of them by for loop. The first one, no problem, the clip become an unattached object without parent. The second one, when we want get its parentBin, error happened.
let bin get items, then removeItem.
RSS feed for comments to this post