Hi,
Is it possible to change a node icon with python? I mean the individual node instance not the whole node type.
Thanks
Is it possible to change a node icon with python?
572 3 1- alexandr.sknarin
- Member
- 7 posts
- Joined: 5月 2023
- Offline
- alexwheezy
- Member
- 318 posts
- Joined: 1月 2013
- Offline
- ObeidaZakzak
- Member
- 123 posts
- Joined: 12月 2019
- Offline
A node icon is part of it's type definition, so it can't be modified for a single instance.
Like mentioned by @alexwheezy, node shape could probably be an alternative to what you want to do, as it's possible to modify it by setting "nodeshape" key in current node's userDataDict
Like mentioned by @alexwheezy, node shape could probably be an alternative to what you want to do, as it's possible to modify it by setting "nodeshape" key in current node's userDataDict
node = hou.pwd() node.setUserData('nodeshape', 'circle')
Houdini Pipeline Supervisor @ TAT Studio
- alexandr.sknarin
- Member
- 7 posts
- Joined: 5月 2023
- Offline
-
- Quick Links