Andr

Andr

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Houdini Engine not reading the digital asset file in UE?? June 11, 2022, 2:10 p.m.

what does "show cook logs"say?

Access variables between two Python SOPs June 6, 2022, 9:01 a.m.

You can use the hou.session module (where you can store also functions available everywhere in the houdini session)
You can write directly to it in the Python Source Editor (access it from Windows menu)

Or you can write to it from any python location
hou.session.myVar = 1
print(hou.session.myVar)

vex: how to insert a variable into @attribute_name? June 6, 2022, 8:04 a.m.

Hello, check the attached example file and see if it works for you.

As far as I know the most performant way to dynamically create attributes is to use an Attribute Create inside a feedback loop block.
I never checked python based solution, however.