Hiero Spreadsheet CSV Export v1.1
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Antony Nasce
Export the contents of the Hiero Spreadsheet view to a CSV file.
Requirements:
7.0, 6.3 or later
Linux, Mac, Windows
7.0, 6.3 or later
Linux, Mac, Windows


This example exports all the visible columns and rows of in your Spreadsheet to a .CSV file.
This works with the raw data, currently displayed in the View, which means if you've searched in the search box, only the filtered results will be exported.
It also exports all text data displayed in custom columns.
Usage:
1) Copy SpreadsheetExport.py it to ~/.hiero/Python/Startup
2) Right-click in Spreadsheet > Export as .CSV > Select a path to save to.
Note: this does not currently maintain the column ordering in the CSV, but does handle custom visible/hidden columns.
Please login in order to download these files.
Comments
This is just the tool I was looking for!
First I couldn't get the script loaded when i put it in /StartupUI/Pyth on directory. But after reading the manual I got it loaded when I put it in /Python/Startup directory.
Now its loaded but I get some error messages when trying to run it. Pasting console output here:
exporting CSV...
seq is Sequence('REMEMBER_50_SEK_DC_EDL')
Traceback (most recent call last):
File "C:/Users/IVAR/ .hieroPythonSta rtupspreadsheet _csv_export.py" , line 165
, in exportCSV
writeCSVFromSeq uence(seq)
File "C:/Users/IVAR/ .hieroPythonSta rtupspreadsheet _csv_export.py" , line 73,
in writeCSVFromSeq uence
csvSavePath = os.path.join(os .getenv('HOME') ,'Desktop',seq. name()+'.csv')
File "C:/Program Files/The Foundry/Hiero1.5v1b8lib
tpath.py", line 96, in jo
in
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
Using the latest Hiero 1.5b8 version on windows. Hope to hear from you soon.
Alex
Is it possible to have an update of your python script that works with nukeStudio?
Many thanks
@Felix: I had no problem using it with nuke 9.0v7 in hiero mode. But it should also work with studio, I guess!
from hiero.core import *
- Paul
RSS feed for comments to this post