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?
590 3 1- alexandr.sknarin
- Member
- 7 posts
- Joined: May 2023
- Offline
- alexwheezy
- Member
- 318 posts
- Joined: Jan. 2013
- Offline
- ObeidaZakzak
- Member
- 123 posts
- Joined: Dec. 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: May 2023
- Offline
-
- Quick Links