Get icon from node for use in PyQt List

   2726   1   1
User Avatar
Member
145 posts
Joined: Feb. 2012
Offline
Hi,
Is there a way to grab a nodes icon directly from houdini to use as an icon in a PyQt4 QTreeWidget or similar?
Would be nice to add them for when I'm displaying a tree of nodes.

Cheers!
User Avatar
Member
145 posts
Joined: Feb. 2012
Offline
Greham n odforce noted:
hou.NodeType.icon() will return the icon name/path which can then be used with hou.ui.createQtIcon()

But only for H14+
Anyone know a workaround for 13?

Thanks!
  • Quick Links