cocoa

cocoa

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

System variable check for package .json files April 25, 2022, 4:42 p.m.

mabelzile
You could try using the default variable syntax: ${VAR-DEFAULT}

If VAR is already set, it expands to its current value. If not, VAR expands to the DEFAULT value.

https://www.sidefx.com/docs/houdini19.0/ref/plugins.html#def_var_syntax [www.sidefx.com]

Great, I'll give that a try. I must have read over this, but didn't really get the current explanation. It would be nice if the example included a variable that is already set so that is shows a case where it does not take the 'DEFAULT' side of the equation. Thanks for the fast help though!