Welcome to WSL!

New to the forum? Please read this and this.

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 »

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 »

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: 4904
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 31
Location: Vancouver, Canada
Been thanked: 53 times
Contact:

Re: Setting the filename in a Saver

#3

Post by SecondMan »

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 »

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

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

Re: Setting the filename in a Saver

#5

Post by ISOTRON »

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 »

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..