How to use the new component variant number mode?
2897 6 0-
- wanglifu
- Member
- 222 posts
- Joined: Feb. 2017
- Offline
-
- wanglifu
- Member
- 222 posts
- Joined: Feb. 2017
- Offline
-
- BryanRay
- Staff
- 46 posts
- Joined: March 2022
- Online
-
- wanglifu
- Member
- 222 posts
- Joined: Feb. 2017
- Offline
BryanRay
When the Component Geometry Variants node is in Number mode, it creates a context option @GEOVARIANTINDEX, which can be used in expressions in a variety of ways. In the attached example, I'm using it to drive which of my four boxes is not hidden by a Prune LOP.
Thanks,so this index thing can’t work inside component geometry?That’s limited
-
- BryanRay
- Staff
- 46 posts
- Joined: March 2022
- Online
There are likely thousands of ways the context option can be applied. Just because I don't mention one specific application doesn't mean that it's impossible. Here's another example, this time with @GEOMETRYVARIANTINDEX controlling which rock is being imported to the Component Geometry node from the /obj network.
-
- wanglifu
- Member
- 222 posts
- Joined: Feb. 2017
- Offline
-
- ElenaR3D
- Member
- 1 posts
- Joined: March 2022
- Offline
BryanRayHello! Thank you for your file! What should I write in the Number of Variants field to automatically get the number of variants in the Geometryvariants component?
There are likely thousands of ways the context option can be applied. Just because I don't mention one specific application doesn't mean that it's impossible. Here's another example, this time with @GEOMETRYVARIANTINDEX controlling which rock is being imported to the Component Geometry node from the /obj network.
-
- Quick Links


