Created
July 25, 2016 16:03
-
-
Save antiero/32a243082064f0f5bf160f9229296a2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hiero.exporters | |
def hidePresets(event): | |
# Edit this list to be the name of the preset you'd like to hide: | |
presetNamesToRemove = ["Basic Nuke Shot With Annotations", "Final Cut Pro 7 XML"] | |
# Get hold of the exporters registry object: | |
R = hiero.exporters.registry | |
# Remove the presets in the list above by name... | |
for presetName in presetNamesToRemove: | |
print "*** Removing processor preset: ", presetName | |
R.removeProcessorPreset(presetName) | |
# Run hidePresets when Startup completes | |
hiero.core.events.registerInterest("kStartup", hidePresets) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment