Jump to content
Sign in to follow this  
unshmettr

Switch If Input Stream is Geo/Volume

Recommended Posts

Posted (edited)

Hey, I want to have a switch to treat volumes and geometry differently. I think I've seen something like that before and looked up the hscript expressions but have not found it.

 

Thanks in advance

Edited by unshmettr

Share this post


Link to post
Share on other sites

you can check primintrinsic  typename. If it VDB or Volume you can feed it to switch

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×