Hi,
Are there currently event handlers in SceneGraphTree using the API for this? I need to perform some actions when I drag prims from SceneGraphTree to the node editor.
There is an example in the documentation relating to extending the node editor, but I'm not sure I can use that.
https://www.sidefx.com/docs/houdini/hom/network.html [www.sidefx.com]
[Py] SceneGraphTree Event Handling
343 2 0- alexwheezy
- Member
- 297 posts
- Joined: 1月 2013
- Offline
- mtucker
- スタッフ
- 4517 posts
- Joined: 7月 2005
- Offline
Dragging prims from the scene graph tree to the node editor does not require any scripting of or API support for the scene graph tree. This is entirely up to the network editor "drop handling" code to recognize that it was a list of USD prim paths that have been dragged onto it. I think this is done by creating a dragdrop.py file under the python3.11libs/nodegraph directory somewhere in your HOUDINI_PATH, but I can't find any documentation for this capability. Probably best to submit this as a question to support@sidefx.com.
- alexwheezy
- Member
- 297 posts
- Joined: 1月 2013
- Offline
-
- Quick Links