Is there a way to test for file path existence

   1464   2   0
User Avatar
Member
39 posts
Joined: July 2021
Offline
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
User Avatar
Member
8541 posts
Joined: July 2007
Online
calincasian
I have all the components needed as attributes however I can't find the "attribute wrangler" of tops.
TOPs use Python, where its easy to test for file existence

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
User Avatar
Member
39 posts
Joined: July 2021
Offline
tamte
calincasian
I have all the components needed as attributes however I can't find the "attribute wrangler" of tops.
TOPs use Python, where its easy to test for file existence

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