HDA Node Color?

   573   4   1
User Avatar
Member
1269 posts
Joined: 4月 2017
オフライン
Hi!

Is there a way to change the default color of an HDA node? I looked in the Type Properties window but can't find anything about colors.

Currently, I have to change the color AFTER I created the node...
-Olivier
User Avatar
Member
316 posts
Joined: 7月 2013
オフライン
you could add some code in the OnCreate event to set the color.
More code, less clicks.
User Avatar
Member
831 posts
Joined: 2月 2017
オフライン
Another Option would be to select the node. Bring up the node color Palette and ctrl+LMB on a color to set a default color for this node type.

Cheers
CYTE
User Avatar
Member
1269 posts
Joined: 4月 2017
オフライン
Jonathan de Blok: I would have zero idea how to code that!

CYTE: No way! You mean I could have done that with any node from the start?!! Does it set the default no matter the session after? If so, this is amazing!

Thanks!
-Olivier
User Avatar
スタッフ
81 posts
Joined: 5月 2024
オフライン
A bunch of the APEX nodes have an OnCreated Script which set their color. See: APEX AutoRig Builder
node = kwargs['node']
node.setColor(hou.Color(0.451, 0.369, 0.796))
Image Processing Technical Director
SideFX
  • Quick Links