I’m looking for some documentation about "Action Button" tab in "Edit Parameter Interface"..

   5866   6   1
User Avatar
Member
414 posts
Joined: 8月 2015
Offline
Hi;

I’m looking for some documentation/Tutorial about “Action Button” tab in “Edit Parameter Interface”.


Thanks for helping.

Attachments:
2.JPG (284.5 KB)

Masoud Saadatmand (MSDVFX)
User Avatar
スタッフ
3459 posts
Joined: 7月 2005
Offline
https://www.sidefx.com/docs/houdini17.0/ref/windows/optype.html#action-button-sub-tab [www.sidefx.com]
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
414 posts
Joined: 8月 2015
Offline
Thank you “goldfarb”;
Is there any tutorial about how to work with this?
Masoud Saadatmand (MSDVFX)
User Avatar
スタッフ
3459 posts
Joined: 7月 2005
Offline
not that I know of, search the forums here and at odforce
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
8768 posts
Joined: 7月 2007
Offline
Masoud
Is there any tutorial about how to work with this?
there is not much else to it

so as mentioned on the goldfarb's link
- put a code in there that you want to be executed when the action button is clicked
- use kwargs dictionary variable to access some intrinsic data (node, parmtuple, …)

so overall it's similar to setting up a parameter callback for a button
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
275 posts
Joined: 9月 2012
Offline
What confuse me is why this is the action button section is to accessible (empty) with a button parameter?

Only in with an event. I tried to build one but for now im failing



tamte
Masoud
Is there any tutorial about how to work with this?
there is not much else to it

so as mentioned on the goldfarb's link
- put a code in there that you want to be executed when the action button is clicked
- use kwargs dictionary variable to access some intrinsic data (node, parmtuple, ...)

so overall it's similar to setting up a parameter callback for a button

Attachments:
temp.JPG (126.5 KB)

Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
User Avatar
Member
275 posts
Joined: 9月 2012
Offline
Edit i found some answer but so far i didn't found great use of the action button feature compare to a simple button with a callback.

Until the moment when i decided to boost the default Sidefx "Null" with a bunch of additional features. It's not an HDA so there is no script module attached and if you could execute a bunch of python instructions in a single line format, it's rather limited!

But with action button , you could run a full standard python script that way !

Very handy... i don't think people know this so i thought was worth sharing
Edited by vinyvince - 2024年9月9日 16:20:39
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
  • Quick Links