Houdini 18 - Python Projects - Working with Multiparms

  Рет қаралды 6,433

Indie-Pixel

Indie-Pixel

Күн бұрын

Howdy Guys!
I hope everyone is doing well! I recently needed to export data from an hda that was using Multiparms for its user interface. Multiparms are really cool parameters in HDA's that let you override individual instance geometry with different values. These nifty paramters are very powerful when creating more advanced HDAs.
In this video we are going to learn how to get the data from each instance in a multiparm list and learn how to export it to a JSON file in a clean easy to read way. Next week Ill show ya guys how to then import this data back into an HDA so it can be used as a way to save out presets for your HDAs.
Patreon: / indiepixel
Thanks!

Пікірлер: 22
@philippzakrzewski8180
@philippzakrzewski8180 3 жыл бұрын
Thanks for this. I was going crazy trying to get those expressions to work. I had never even heard of "strcat" before :-D
@justindykhouse7761
@justindykhouse7761 3 жыл бұрын
Very handy, this saved me half of a day's work today. Thank you!
@spikearo
@spikearo 4 жыл бұрын
Thanks for sharing this, it's very useful to know how to store data from houdini
@ThiagoLaranjeiraZerooneBit
@ThiagoLaranjeiraZerooneBit 4 жыл бұрын
❤️ look who's alive
@AlabhyaSpurs
@AlabhyaSpurs 4 жыл бұрын
Yay! Welcome back!!
@IndiePixel3D
@IndiePixel3D 4 жыл бұрын
Thanks! Got caught up with work stuff...but am back!:)
@OnkAnCa64
@OnkAnCa64 4 жыл бұрын
oh, so cool thanks
@siposattila_tutorials
@siposattila_tutorials Жыл бұрын
Thank you very much!
@fxtech-art8242
@fxtech-art8242 4 жыл бұрын
cool thanks again
@kasali2739
@kasali2739 2 жыл бұрын
would be great to have a kind of "color picker" to transfer set of multiparms from one entity to another. For this example for each new set to transfer color and position from one object entry Is this possible in Python?
@nictanghe98
@nictanghe98 3 жыл бұрын
ugh, i wish i saw someone use strcat 5 months earlier.
@milad_savar
@milad_savar 2 жыл бұрын
Great job - how can active or Deactive display flag node in the Parameters ?
@IndiePixel3D
@IndiePixel3D 2 жыл бұрын
You can set a nodes display flag by using hou.node("node name").setDisplayFlag(True).
@milad_savar
@milad_savar 2 жыл бұрын
@@IndiePixel3D Thanks.
@fxtech-art8242
@fxtech-art8242 4 жыл бұрын
can we add startup scripts just for certain project ? tried adding scripts folder in project and added 456.py in it....but doesnt seems to work It works fine for $HOME but not for per project....
@IndiePixel3D
@IndiePixel3D 4 жыл бұрын
Yep, you can put a script into the hou.session www.sidefx.com/docs/houdini/hom/hou/session.html
@fxtech-art8242
@fxtech-art8242 4 жыл бұрын
@@IndiePixel3D if i define something in hou.session....i have to call it somewhere...is there any way so that it will execute automatically when i open new file..? similar to 456.py
@IndiePixel3D
@IndiePixel3D 4 жыл бұрын
@@fxtech-art8242 sure thing...just call the function you want to execute at the bottom of your script.
@junzheshen3343
@junzheshen3343 4 жыл бұрын
Hi, again! I have some issues with adding text attributes to the detail. I am using geo.addAttrib(hou.attribType.Global, "test", "asdfasdf"), but the attribute "test" in the detail is blank.
@IndiePixel3D
@IndiePixel3D 4 жыл бұрын
Do a geo.setAttribValue right after the add...does it fill the attr?
@junzheshen3343
@junzheshen3343 4 жыл бұрын
@@IndiePixel3D It does!! Thx! But that's so weird, you can only directly add numbers but not the text.
@IndiePixel3D
@IndiePixel3D 4 жыл бұрын
@@junzheshen3343 well, I think it wants us to add a string attr first...so its templated... but I hear ya...should just create it with the addAttr function...might be a houdini bug?
Houdini 18 - Python Projects - Creating MultiParm Instances
13:34
Indie-Pixel
Рет қаралды 3,8 М.
Houdini 18 - Python Projects - Creating a Generic Json Exporter
25:47
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 16 МЛН
Houdini Tutorial - Dynamic UI in HDA
25:09
ChunYou Sim
Рет қаралды 6 М.
Houdini 18 - Intro to Python - Using the Glob Module
32:09
Indie-Pixel
Рет қаралды 4,9 М.
Interactive Python States | Houdini 18.0
23:20
Ricardo B. Ponce
Рет қаралды 10 М.
Generate 3D from ANY Video! │Gaussian Splatting Tutorial w/ Postshot
18:50
Nodes & Python in Houdini
17:04
Socratica FX
Рет қаралды 6 М.
Houdini Python Projects - Creating Shelf Tools
17:49
Indie-Pixel
Рет қаралды 11 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 976 М.
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 16 МЛН