getEnvConfigValue(name, default_value=None)
→ str
Return the value of the specified Houdini environment variable as Houdini will
treat it. This is essentially a wrapper around hou.getenv() that treats
managed Houdini environment variables as a special case to return the default
value that will be used by Houdini if the environment variable does not exist
or a clamped value if it does exist but exceeds the allowed bounds. It will
return default_value
if the environment variable does not exist and is not
a managed Houdini environment variable for which we have a known default.
Note that for unset path variables this will not typically reflect the paths that Houdini will end up using in their place.
See also |