Bram Stolk
bram_stolk
About Me
Sr Software Engineer with Walt Disney Animation Studios.
Connect
LOCATION
Vancouver,
Canada
ウェブサイト
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Initial values for scriptMenuStripRadio items in custom menu 2024年4月25日16:07
Did you ever figure this out?
I am hitting the same thing, and none of the radio buttons is selected, which should never happen of course, as by definition, a radio button always has 1 selected.
I am hitting the same thing, and none of the radio buttons is selected, which should never happen of course, as by definition, a radio button always has 1 selected.
Finding nodes with Display flag set, from within SceneHook. 2024年2月22日12:09
First off, a request:
This forum could really use a board for HDK questions. As Technical seems to broad, and Houdini Engine API seems not to be geared towards HDK?
My actual question:
I wrote a SceneHook, and I would like to quickly find the Node with the display flag set, in the /obj network.
How can I accomplish this?
Currently, I traverse all known nodes, and check if they have the display flag set, but I would like a more event driven approach to that.
How can I make sure my SceneHook gets a signal when a display flag changes?
Thanks.
Current code:
This forum could really use a board for HDK questions. As Technical seems to broad, and Houdini Engine API seems not to be geared towards HDK?
My actual question:
I wrote a SceneHook, and I would like to quickly find the Node with the display flag set, in the /obj network.
How can I accomplish this?
Currently, I traverse all known nodes, and check if they have the display flag set, but I would like a more event driven approach to that.
How can I make sure my SceneHook gets a signal when a display flag changes?
Thanks.
Current code:
// Retrieve all nodes. OP_NodeList list; OP_Node::getAllNodes(list); // Check all nodes. for (OP_NodeList::iterator it=list.begin(); it!=list.end(); ++it) { OP_Node* n = *it; if (n->isNetwork()) { // This node is a network, which means we can ask for the displayed node. OP_Network* netw = (OP_Network*)n; OP_Node* dpyNode = netw->getDisplayNodePtr();
UI_EventType 2024年2月8日20:08
I am surprised to find UI_EventType includes UI_EVENT_DBLCLK but there is no corresponding type for a single click?
Does this mean the burden of detecting clicks falls on the plugin by monitoring the button status and mouse positions?
Does this mean the burden of detecting clicks falls on the plugin by monitoring the button status and mouse positions?