I'm trying to set a file path property by referencing another property in the scene.
So I have PropertyA which has this file name:
"D:/vf/Library/Tech/Fusion/FusionComplexSetup/FramesFusion/a/vfx_complex_01a_12x11_F132.$F4.exr"
Then I have a File node that references this property.
But it never works. It says cannot find the file. I think that it is the $F4 that causes the problem.
If I link to the file manually it says exactly the same as the file above so the spelling is 100% correct.
Any idea what I can do to make it work?
Cannot set file path by python property script
452 4 0-
- AndreasOberg
- Member
- 115 posts
- Joined: 2月 2015
- Online
-
- Enivob
- Member
- 2307 posts
- Joined: 6月 2008
- Offline
-
- AndreasOberg
- Member
- 115 posts
- Joined: 2月 2015
- Online
Enivob
Show us what the filenames look like. Does your file contain four zero padded digits?
vfx_complex_01a_12x11_F132.0001.exr
I can make it read the file if I point only at the first so I have 0001.exr in the end. But the second I try to use $F4 then it stops working and it complains that the file cannot be found.
So just to iterate. If I would type this exact string in the file node then it works.
However if I have another node with a string/file property and I copy and paste relative, then it does NOT work.
This is in the img file node, that I try to load for compositing.
Cheers,
Andreas
-
- AndreasOberg
- Member
- 115 posts
- Joined: 2月 2015
- Online
-
- SWest
- Member
- 232 posts
- Joined: 10月 2016
- Offline
-
- Quick Links