Robbert Groenendijk
Robbert
About Me
EXPERTISE
VFX Artist
INDUSTRY
Film/TV
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Houdini package expressions not working Dec. 5, 2024, 10:17 a.m.
Got it working, thanks! Would be great to be able to use the env variables set IN the file (or in package files with a higher processing order) to evaluate expressions. But oh well, if this is how it is expected, so be it
Houdini package expressions not working Dec. 5, 2024, 3:42 a.m.
I am trying to use expressions for dynamic include/excludes in my package files but it does not seem to work if I try to compare with any self-set environment variables inside of the package file. Doing include expressions like "houdini_version == '20.5.410'" work, but changing that to "houdini_version == '$VAR_HOUDINI_VERSION'" (where var = "20.5.410") seems to return false or break and skip the package. How are these supposed to be used and why does this not work?
{ "enable": true, "load_package_once": true, "process_order" : 1, "env": [ { "SOME_VAR" : "20.5.410" }, { "HOUDINI_OTLSCAN_PATH" : [ { "houdini_version == '$SOME_VAR'" : "/some/path", "method" : "append" } ] }, ] }
What is the full name for VOP June 20, 2023, 4:52 a.m.
It's a VEX operator, as the nodes in VOPs are direct node-implementations of VEX functions. VOPs also compile into VEX code which you can actually see by clicking on the VOP node -> View VEX/VOP Options -> View Vex Code.