Page 1 of 1

Setting the filename in a Saver

Posted: Fri Apr 22, 2016 1:10 pm
by vidjuheffex
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?

Re: Setting the filename in a Saver

Posted: Fri Apr 22, 2016 2:10 pm
by vidjuheffex
Nevermind, figured it out. Had to go to the Fusion 5 scripting manual as the current version(s) don't mention the Clip item.

Re: Setting the filename in a Saver

Posted: Fri Apr 22, 2016 4:43 pm
by SecondMan
Care to copy the answer in here, please, for any people running into the same issue? :)

Thanks!

Re: Setting the filename in a Saver

Posted: Sun Apr 24, 2016 2:16 pm
by helgetjelta
Yes please share. Then maybe we can get the .csv script to work. that would have been awesome.

Re: Setting the filename in a Saver

Posted: Mon Apr 25, 2016 1:41 am
by ISOTRON
i use the simple way :

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

Re: Setting the filename in a Saver

Posted: Mon Apr 25, 2016 8:23 am
by vidjuheffex
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..