Examples
The following examples can also be found in Hiero’s site-packages directory, located here:
Mac OS X
/Applications/Hiero1.5v1/Hiero1.5v1.app/Contents/Plugins/site-packages/hiero/examples/
Linux
/usr/local/Hiero1.5v1/Plugins/site-packages/hiero/examples/
Windows
C:\Program Files\The Foundry\Hiero1.5v1\plugins\site-packages\hiero\examples\
The following examples are included:
- bin_drop.py Class to show how to handle drop events in the bin view.
- conform_rules.py Class to show how to handle drop events in the bin view.
- copy_cuts.py This example copies the cut positions of shots in a ‘From’ Track to multiple Destination (‘To’) Tracks.
- create_example.py Shows how to create a new project, add clips, and create a sequence.
- custom_transcode.py Example of a custom transcoder.
- custom_transcode_ui.py Example of the user interface for a custom transcoder (goes with the custom_transcode.py code).
- keyboard_shortcuts.py This example shows how you can add custom keyboard shortcuts to Hiero. If you wish for this code to be run on startup, copy it to your <HIERO_PATH>/Startup directory.
- multi_export.py This example shows how you can add custom keyboard shortcuts to Hiero. If you wish for this code to be run on startup, copy it to your <HIERO_PATH>/Startup directory.
- naming_example.py Example for how to override hiero naming scheme.
- nuke_write.py An example of creating a nuke (*.nk) script and using Nuke to render it.
- rush_render_auto_submit.py Example to submit a Transcode render to a Rush render farm, automatically start the render, and open IRush.
- rush_render_start_irush.py Example to submit a Transcode render to a Rush render farm.
- spreadsheet_csv_export.py This Example shows how to register a custom menu to the Spreadsheet View and exports the contents of the Spreadsheet as a CSV file. Usage: Right-click on a row of the Spreadsheet, select Export > Spreadsheet to .CSV. Note: The ‘Action’ column is not currently hooked up and it does not currently take ‘Drop Frame’ into account.
- versioning_example.py Example for how to override hiero versioning.
- web_browser.py An example of creating a dockable panel from Python. This script creates a simple PySide Qt web browser.