Variants + component builder + fileSOP

   1040   3   1
User Avatar
Member
15 posts
Joined: Nov. 2021
Offline
Hello,
I have a bunch of files on my hard drive. And I load this, do some operations, and want to save to USD using standard component builder with variant.
SO what I do. in component geometry I use file SOP. Which have reference parameter to "MYITERATION" from the loop node, hence it need to loop over all folders/files starting from 0 to 5 and add it to variant, but I have only 1 variant (var4) and var0 is empty.
Do I do something wrong or it bag with fileSOP? Houdini 19.5.640

Attachments:
Screenshot 2023-08-28 163334.png (16.5 KB)
Screenshot 2023-08-28 164120.png (314.5 KB)
Screenshot 2023-08-28 164212.png (114.6 KB)
Screenshot 2023-08-28 164320.png (95.8 KB)

User Avatar
Member
15 posts
Joined: Nov. 2021
Offline
Anybody?
User Avatar
Staff
4168 posts
Joined: Sept. 2007
Offline
Instead of the For Block, try the Component Geometry Variants in "Number" mode, using the `@GEOVARIANTINDEX` context option.

https://www.sidefx.com/docs/houdini/nodes/lop/componentgeometryvariants.html#tips [www.sidefx.com]
I'm o.d.d.
User Avatar
Member
15 posts
Joined: Nov. 2021
Offline
goldleaf
@GEOVARIANTINDEX
thanks. it's work! So I just need to set Number of variants in amount of desired files? And do I understand right, that preferable way to use Number mode, instead For each?
Edited by Hyperreal-Studios - Sept. 1, 2023 10:59:52
  • Quick Links