Obeida Zakzak

ObeidaZakzak

About Me

Houdini Pipeline Supervisor @ TAT Studio
EXPERTISE
Technical Director
INDUSTRY
Film/TV

Connect

LOCATION
Toulouse, France
WEBSITE

Houdini Skills

ADVANCED
Digital Assets  | Hair & Fur  | VEX  | Python
INTERMEDIATE
Cloth  | Solaris  | PDG

Availability

I am currently employed at TAT Studio

Recent Forum Posts

Houdini package expressions not working Dec. 5, 2024, 10:03 a.m.

Robbert
it does not seem to work if I try to compare with any self-set environment variables inside of the package file

Self-set environment variables work well for setting a value, like :

{
"env": [
{
"MY_BROWSER_PATH" : "C:/Program Files/Google/Chrome/Application/chrome.exe"
},
{
"HOUDINI_EXTERNAL_HELP_BROWSER" : "$MY_BROWSER_PATH"
}
]
}

But they don't work for package expressions when set within the same package file, and have to be set prior to scanning this package file. You have to set SOME_VARin a previously loaded package file or in system environment variables before starting Houdini (and called with $prefix, without single quotes '') :

{
"env": [
{
"MY_BROWSER_PATH" : "C:/Program Files/Google/Chrome/Application/chrome.exe"
},
{
"HOUDINI_EXTERNAL_HELP_BROWSER" :
{
"houdini_version == $SOME_VAR " :"$MY_BROWSER_PATH"
}
}
]
}

alexwheezy
I think this is because a number is expected, not a string.

The expression syntaxe actually expects string values.

OpenCL COP: Input default value not matching the output. Dec. 2, 2024, 4:55 p.m.

I am actually surprised that it managed to output something here, because the syntaxe for valflag expects braces {}for vector values https://www.sidefx.com/docs/houdini/vex/ocl.html#target-flags [www.sidefx.com]

Using braces should output the expected RGBA(0.5, 0.5, 1.0, 1.0) value :

#bind layer bg_normal? float4 val={0.5,0.5,1,1}
#bind layer fg_normal? float4 val={0.5,0.5,1,1}

Is it possible to change a node icon with python? Nov. 30, 2024, 6:45 a.m.

A node icon is part of it's type definition, so it can't be modified for a single instance.

Like mentioned by @alexwheezy, node shape could probably be an alternative to what you want to do, as it's possible to modify it by setting "nodeshape" key in current node's userDataDict

node = hou.pwd()
node.setUserData('nodeshape', 'circle')