Export attributes to multiple rows in .csv

   2733   2   0
User Avatar
Member
55 posts
Joined: 5月 2017
Offline
Hi all, I'm trying to someway automate the assignation of pre made thumbnails for assets in OD tools Asset Library using TOPs.

The idea is to first get filenames of the assets and corresponding .jpg preview filenames. Then we could write a list to a .csv or .txt file and parsed in Asset Library to assing the preview thumb to each asset.

By now I came to a working system but with one big problem I can't work around: The .csv file only outputs the last entry because it gets overwritten on each cooked item. So the question is: How to make the csv exporter writes each item attribute in a new row instead of rewritting always the first one?

I attach a file with what I've done so far.
User Avatar
Member
1788 posts
Joined: 5月 2006
Online
Your file isn't attached.
http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
1788 posts
Joined: 5月 2006
Online
Had a quick look, the help says "If the node generates from a partition which contains 10 work items, the CSV file will contain 10 rows."

Added a partition by node before the csv output, it writes each workitem out to its own row.

Attachments:
tops_csv.hip (160.7 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
  • Quick Links