Search - User list
Full Version: Is there a way to test for file path existence
Root » PDG/TOPs » Is there a way to test for file path existence
calincasian
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
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
calincasian
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB