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.
Found 5 posts.
Search results Show results as topic list.
Technical Discussion » Initial values for scriptMenuStripRadio items in custom menu
- bram_stolk
- 5 posts
- Offline
Technical Discussion » Finding nodes with Display flag set, from within SceneHook.
- bram_stolk
- 5 posts
- Offline
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();
Houdini Engine API » UI_EventType
- bram_stolk
- 5 posts
- Offline
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?
Edited by bram_stolk - Feb. 8, 2024 20:08:37
Houdini Engine API » Building and running a plugin from samples/DM/
- bram_stolk
- 5 posts
- Offline
UPDATE: Even though they are not listed, I see that the DM sample plugins do work.
So this is probably just a shortcoming of the dsoinfo utility.
So this is probably just a shortcoming of the dsoinfo utility.
Houdini Engine API » Building and running a plugin from samples/DM/
- bram_stolk
- 5 posts
- Offline
I have built a few samples from samples/SOP/ using the hcustom command.
The build target .so ends up in my $HOME/houdini20.0/dso/ directory.
After launching Houdini, I open Texport and run dsoinfo command. I see the SOP plugins listed as loaded.
So far so good!
Now, if I do the same with plugins from samples/DM/ then I also end up with a .so file in the right directory.
But dsoinfo will not show it as loaded.
Do DM samples require a different approach to building or running compared to the SOP examples?
Thanks.
Platform: Linux RHEL9
Houdini: 20.0.591
The build target .so ends up in my $HOME/houdini20.0/dso/ directory.
After launching Houdini, I open Texport and run dsoinfo command. I see the SOP plugins listed as loaded.
So far so good!
Now, if I do the same with plugins from samples/DM/ then I also end up with a .so file in the right directory.
But dsoinfo will not show it as loaded.
Do DM samples require a different approach to building or running compared to the SOP examples?
Thanks.
Platform: Linux RHEL9
Houdini: 20.0.591
Edited by bram_stolk - Jan. 26, 2024 11:36:57
-
- Quick Links