Digistruct Posted November 11, 2018 Share Posted November 11, 2018 Hey, I'm curious as to if is is possible to have a switch node change based on the bbox size of the input. Say that if the XSIZE is the largest then it outputs to 1, YSIZE 2, ZSIZE 3. Is this possible and if so, how? Thanks! Quote Link to comment Share on other sites More sharing options...
3dome Posted November 11, 2018 Share Posted November 11, 2018 (edited) sure you can if(bbox("../box1/", D_XSIZE)>bbox("../box1/", D_YSIZE)&&bbox("../box1/", D_XSIZE)>bbox("../box1/", D_ZSIZE), 0, if(bbox("../box1/", D_YSIZE)>bbox("../box1/", D_ZSIZE), 1, 2)) dm_switchByBbox.hip Edited November 11, 2018 by 3dome attach file Quote Link to comment Share on other sites More sharing options...
Digistruct Posted November 12, 2018 Author Share Posted November 12, 2018 Huge thanks, 3dome! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.