Jump to content

Read files through a loop


Recommended Posts

I have a large number of wedges, but I used the wedge to simulate different section of one large simulation. Now I need to read them all in and merge them into a single geo. I have 82 wedges, is there a way to bring them in without having to use 82 filecache nodes? I tried to run a loop and collect all the files, I used the iteration detail attribute in place of the wedge to cont the numebr of times the filecache should loop, it doesn't work. i might be missing something, please enlighten me.

Link to comment
Share on other sites

hey Suraj use a file merge, and put $SLICE where the wedge variable in your filename is and adjust the merge range.
e.x $HIP.whatever.wedgevar_1.bgeo =  $HIP.whatever.wedgevar_$SLICE.bgeo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...