Skip to content

Instantly share code, notes, and snippets.

@antiero
Created July 25, 2016 16:03
Show Gist options
  • Save antiero/32a243082064f0f5bf160f9229296a2b to your computer and use it in GitHub Desktop.
Save antiero/32a243082064f0f5bf160f9229296a2b to your computer and use it in GitHub Desktop.
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