Setting the filename in a Saver

User avatar
vidjuheffex
Posts: 12
Joined: Tue Aug 26, 2014 1:44 pm

Setting the filename in a Saver

#1

Post by vidjuheffex » Fri Apr 22, 2016 1:10 pm

How do I set the filename in a saver?

Code: Select all

mySaver = Saver ()
mySaver:GetAttrs(TOOLST_Clip_Name)
returns:

Code: Select all

table: 0x18300880
	1 =
How does SetAttrs work with table data like this?

User avatar
vidjuheffex
Posts: 12
Joined: Tue Aug 26, 2014 1:44 pm

Re: Setting the filename in a Saver

#2

Post by vidjuheffex » Fri Apr 22, 2016 2:10 pm

Nevermind, figured it out. Had to go to the Fusion 5 scripting manual as the current version(s) don't mention the Clip item.

User avatar
SecondMan
Site Admin
Posts: 3782
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: Setting the filename in a Saver

#3

Post by SecondMan » Fri Apr 22, 2016 4:43 pm

Care to copy the answer in here, please, for any people running into the same issue? :)

Thanks!

User avatar
helgetjelta
Posts: 19
Joined: Tue Sep 23, 2014 12:49 am

Re: Setting the filename in a Saver

#4

Post by helgetjelta » Sun Apr 24, 2016 2:16 pm

Yes please share. Then maybe we can get the .csv script to work. that would have been awesome.

User avatar
ISOTRON
Fusioneer
Posts: 157
Joined: Mon Aug 04, 2014 11:54 am
Location: Germany, Munich
Contact:

Re: Setting the filename in a Saver

#5

Post by ISOTRON » Mon Apr 25, 2016 1:41 am

i use the simple way :

filename = "C:\myrender.exr"
tool.Clip = filename

User avatar
vidjuheffex
Posts: 12
Joined: Tue Aug 26, 2014 1:44 pm

Re: Setting the filename in a Saver

#6

Post by vidjuheffex » Mon Apr 25, 2016 8:23 am

Yup, what Isotron said

Edit: It was frustrating how simple it was and how my confusion really boiled down to lack of documentation. Sure hovering over things gives me the object "Clip", but within that, what properties does clip have... who knows... unless you whip out the fusion 5 scripting manual..