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:
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 script452 4 0
- 2307 posts
- Joined: 6月 2008
Show us what the filenames look like. Does your file contain four zero padded digits?
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.
- 232 posts
- Joined: 10月 2016
- Quick Links
- Show recent posts
- Show unanswered posts