Hey there,
I'm trying to build a PDG network to convert textures however I'm having a bit of trouble on testing if the output file already exists. I'd like to do that so that only new textures are converted and the old ones are skipped.
I have all the components needed as attributes however I can't find the "attribute wrangler" of tops.
cheers
calin
Is there a way to test for file path existence
1689 2 0- calincasian
- Member
- 39 posts
- Joined: 7月 2021
- Offline
- tamte
- Member
- 8766 posts
- Joined: 7月 2007
- Offline
calincasianTOPs use Python, where its easy to test for file existence
I have all the components needed as attributes however I can't find the "attribute wrangler" of tops.
you can use Python Script TOP of Filter By Expression TOP for per workitem scripts, or Python Processor TOP for more complex logic
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- calincasian
- Member
- 39 posts
- Joined: 7月 2021
- Offline
tamtecalincasianTOPs use Python, where its easy to test for file existence
I have all the components needed as attributes however I can't find the "attribute wrangler" of tops.
you can use Python Script TOP of Filter By Expression TOP for per workitem scripts, or Python Processor TOP for more complex logic
Thanks Tomas, I'll give that a try.
cheers
calin
-
- Quick Links