TOPs Network with non-generic file names

   297   1   1
User Avatar
Member
7 posts
Joined: July 2024
Offline
I'm having trouble coming up with a network to process meshes.
Tldr; I want to automate fixing UV issues created by a bevel modifier in my DCC.

I have a "source" and "target" mesh, which I'm transferring UVs in between using the Labs Transfer UV node. My plan was to use a TOP network to automate the import and export of a whole bunch of meshes.

What I cannot figure out is how to set up the filePattern node to split between a "source" and "target" mesh. I've tried 2 streams of filePattern node but it didn't work as one stream is not fed to my fileImport node. So currently I have this setup, but I noticed the work items are being multiplied in my 2nd filePattern node..
Hope to get some advice on how to go about this.



Attachments:
TOPs_network.png (146.6 KB)
Geo_Network.png (28.4 KB)
source_meshes.png (2.5 KB)

User Avatar
Member
7 posts
Joined: July 2024
Offline
Update: I think my question was hard to understand. Essentially I wanted to use the filePattern TOP node to filter between 2 types of files based on a prefix name. Also I wanted to store the work items generated from 2 filePattern nodes and to pass them over to 2 fileImport SOP nodes.

In the end, I just used 1 filePattern node to grab the `target` files and through hscript (strcat) appended the prefix name for the `source` files import. This simplified my setup and it all works now.
  • Quick Links