Jump to content
Sign in to follow this  
MADjestic

Disable When...

Recommended Posts

hi,

I think everyone has seen this "Disable when" parameter in many VOP nodes - obviously what it does is similar to

#pragma disable A B 0

VEX stuff. However I had hard time trying to find out what format this parameter expects to work (to disable itself when another parameter has some value) , Houdini Help was not very helpful either. Does anybody have experience with this? Can you give an example of an expression that should be entered into this 'Disable when' parameter?

Thanks.

Share this post


Link to post
Share on other sites

Here is an example:

  { map  "" }

or for multiple conditions

 { use_map 1 }   { mode "zdepth" }

I hope this helps,

Jason

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  

×