[SOLVED] Custom Default Node Colors and Shapes

   9256   8   7
User Avatar
Member
252 posts
Joined:
Offline
Is there a config somewhere where we could set the default node color and/or shapes for newly created nodes?
Edited by galagast - March 11, 2017 06:31:21
User Avatar
Member
252 posts
Joined:
Offline
Found it in the new docs!
http://www.sidefx.com/docs/houdini/network/organize#bulk-changes [sidefx.com]

Also, the commands to use:
opdefaultshape [sidefx.com]
opdefaultcolor [sidefx.com]
User Avatar
Member
34 posts
Joined: July 2015
Offline
And here is the full list of defaults:
# SHAPES

# Chop
opdefaultshape Chop blend 'cigar'
opdefaultshape Chop constraintblend 'cigar'
opdefaultshape Chop constraintexport 'star'
opdefaultshape Chop file 'tabbed_left'
opdefaultshape Chop merge 'cigar'

# Object
opdefaultshape Object ambient 'ensign'
opdefaultshape Object blend 'cigar'
opdefaultshape Object bone 'peanut'
opdefaultshape Object cam 'camera'
opdefaultshape Object envlight 'ensign'
opdefaultshape Object frankenmuscle 'cigar'
opdefaultshape Object hlight 'ensign'
opdefaultshape Object hlight::2.0 'ensign'
opdefaultshape Object indirectlight 'ensign'
opdefaultshape Object light 'ensign'
opdefaultshape Object musclepin 'chevron_down'
opdefaultshape Object musclerig 'bulge_down'
opdefaultshape Object null 'null'
opdefaultshape Object riggedmuscle 'bulge'
opdefaultshape Object sterocamrig 'camera'
opdefaultshape Object switcher 'diamond'
opdefaultshape Object vrcam 'camera'

# Sop
opdefaultshape Sop alembic 'tabbed_left'
opdefaultshape Sop attribcast 'tilted'
opdefaultshape Sop attribcomposite 'tilted'
opdefaultshape Sop attribcopy 'tilted'
opdefaultshape Sop attribcreate::2.0 'tilted'
opdefaultshape Sop attribdelete 'tilted'
opdefaultshape Sop attribfade 'tilted'
opdefaultshape Sop attribfrommap 'tilted'
opdefaultshape Sop attribfromvolume 'tilted'
opdefaultshape Sop attribinterpolate 'tilted'
opdefaultshape Sop attribmirror 'tilted'
opdefaultshape Sop attribpromote 'tilted'
opdefaultshape Sop attribrandomize 'tilted'
opdefaultshape Sop attribreorient 'tilted'
opdefaultshape Sop attribstransferbyuv 'tilted'
opdefaultshape Sop attribstringedit 'tilted'
opdefaultshape Sop attribswap 'tilted'
opdefaultshape Sop attribtransfer 'tilted'
opdefaultshape Sop attribute 'tilted'
opdefaultshape Sop attribvop 'tilted'
opdefaultshape Sop attribwrangle 'wave'
opdefaultshape Sop block_begin 'chevron_down'
opdefaultshape Sop block_end 'chevron_up'
opdefaultshape Sop captureattribpack 'ensign'
opdefaultshape Sop captureattribunpack 'pointy'
opdefaultshape Sop compile_begin 'chevron_down'
opdefaultshape Sop compile_end 'chevron_up'
opdefaultshape Sop convert 'trapezoid_up'
opdefaultshape Sop convertmeta 'trapezoid_up'
opdefaultshape Sop convertvdb 'trapezoid_up'
opdefaultshape Sop convertvolume 'trapezoid_up'
opdefaultshape Sop deformationwrangle 'wave'
opdefaultshape Sop file 'tabbed_left'
opdefaultshape Sop filecache 'tabbed_left'
opdefaultshape Sop filemerge 'tabbed_left'
opdefaultshape Sop merge 'cigar'
opdefaultshape Sop null 'circle'
opdefaultshape Sop object_merge 'trapezoid_down'
opdefaultshape Sop pack 'ensign'
opdefaultshape Sop packpoints 'ensign'
opdefaultshape Sop rop_alembic 'clipped_left'
opdefaultshape Sop rop_geometry 'clipped_left'
opdefaultshape Sop switch 'circle'
opdefaultshape Sop unpack 'pointy'
opdefaultshape Sop unpackpoints 'pointy'
opdefaultshape Sop vdb 'cloud'
opdefaultshape Sop vdbfrompolygons 'trapezoid_up'
opdefaultshape Sop volume 'cloud'
opdefaultshape Sop volumewrangle 'wave'

#Dop
opdefaultshape Dop bulletrbdsolver 'tilted'
opdefaultshape Dop buoyancyforce 'pointy'
opdefaultshape Dop clothobject::2.0 'trapezoid_down'
opdefaultshape Dop clothsolver::2.0 'tilted'
opdefaultshape Dop crowdfuzzylogic 'trapezoid_down'
opdefaultshape Dop crowdobject 'trapezoid_down'
opdefaultshape Dop crowdsolver::3.0 'tilted'
opdefaultshape Dop crowdstate::3.0 'chevron_down'
opdefaultshape Dop crowdtransition::3.0 'pointy'
opdefaultshape Dop crowdtrigger::2.0 'star'
opdefaultshape Dop crowdtriggerlogic::2.0 'trapezoid_down'
opdefaultshape Dop drag 'pointy'
opdefaultshape Dop emptyobject 'trapezoid_down'
opdefaultshape Dop enablesolver 'bulge'
opdefaultshape Dop fan 'pointy'
opdefaultshape Dop fieldforce 'pointy'
opdefaultshape Dop file 'tabbed_left'
opdefaultshape Dop filedata 'tabbed_left'
opdefaultshape Dop finiteelementsolver::2.0 'tilted'
opdefaultshape Dop flipobject 'trapedzoid_down'
opdefaultshape Dop flipsolver::2.0 'tilted'
opdefaultshape Dop fluidforce 'pointy'
opdefaultshape Dop gasfieldvop 'tilted'
opdefaultshape Dop gasfieldwrangle 'wave'
opdefaultshape Dop geometryvop 'tilted'
opdefaultshape Dop geometrywrangle 'wave'
opdefaultshape Dop gravity 'pointy'
opdefaultshape Dop groundplane 'trapezoid_down'
opdefaultshape Dop hybridobject 'trapezoid_down'
opdefaultshape Dop impusleforce 'pointy'
opdefaultshape Dop magnetforce 'pointy'
opdefaultshape Dop merge 'cigar'
opdefaultshape Dop null 'null'
opdefaultshape Dop output 'clipped_left'
opdefaultshape Dop pointforce 'pointy'
opdefaultshape Dop popaxisforce 'pointy'
opdefaultshape Dop popcurveforce 'pointy'
opdefaultshape Dop popforce 'pointy'
opdefaultshape Dop popgrains 'tilted'
opdefaultshape Dop poplocalforce 'pointy'
opdefaultshape Dop popmetaballforce 'pointy'
opdefaultshape Dop popobject 'trapezoid_down'
opdefaultshape Dop popsolver::2.0 'tilted'
opdefaultshape Dop popsource::2.0 'bulge_down'
opdefaultshape Dop popvop 'tilted'
opdefaultshape Dop popwrangle 'wave'
opdefaultshape Dop pyrosolver::2.0 'tilted'
opdefaultshape Dop rbdobject 'trapezoid_down'
opdefaultshape Dop rigidbodysolver 'tilted'
opdefaultshape Dop smokeobject 'trapezoid_down'
opdefaultshape Dop smokesolver::2.0 'tilted'
opdefaultshape Dop solidobject::2.0 'trapezoid_down'
opdefaultshape Dop sourcefilaments 'bulge_down'
opdefaultshape Dop sourcevolume 'bulge_down'
opdefaultshape Dop switch 'diamond'
opdefaultshape Dop switchsolver 'diamond'
opdefaultshape Dop terrainobject 'trapezoid_down'
opdefaultshape Dop uniformforce 'pointy'
opdefaultshape Dop vopforce 'tilted'
opdefaultshape Dop whitewateremitter 'bulge_down'
opdefaultshape Dop whitewaterobject 'trapezoid_down'
opdefaultshape Dop whitewatersolver 'tilted'
opdefaultshape Dop wireobject 'trapezoid_down'
opdefaultshape Dop wiresolver 'tilted'

# COLORS

# Object
opdefaultcolor Object blend 'RGB 0.55 0.7 0.55'
opdefaultcolor Object bone 'RGB 1 0.8 0.5'
opdefaultcolor Object cam 'RGB 0.3 0.55 0.75'
opdefaultcolor Object chopnet 'RGB 0.67 0.4 0.25'
opdefaultcolor Object cop2net 'RGB 0.5 0.5 0.35'
opdefaultcolor Object dopnet 'RGB 0.7 0.9 0.6'
opdefaultcolor Object envlight 'RGB 0.7 0.84 9'
opdefaultcolor Object frankenmuscle 'RGB 0 0.4 0'
opdefaultcolor Object hlight::2.0 'RGB 1 0.75 0.2'
opdefaultcolor Object indirectlight 'RGB 0.6 0.6 0.6'
opdefaultcolor Object matnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Object musclepin 'RGB 0.9 0.9 0.5'
opdefaultcolor Object musclerig 'RGB 0 0.45 0.9'
opdefaultcolor Object null 'RGB 0.7 0.8 0.87'
opdefaultcolor Object riggedmuscle 'RGB 0.9 0.5 0.5'
opdefaultcolor Object ropnet 'RGB 0.55 0.3 0.4'
opdefaultcolor Object shopnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Object switcher 'RGB 0.8 1 0.7'
opdefaultcolor Object vopnet 'RGB 0.3 0.3 0.3'

# Cop2
opdefaultcolor Cop2 chopnet 'RGB 0.67 0.4 0.25'
opdefaultcolor Cop2 cop2net 'RGB 0.5 0.5 0.35'
opdefaultcolor Cop2 dopnet 'RGB 0.7 0.9 0.6'
opdefaultcolor Cop2 matnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Cop2 rop_comp 'RGB 0.65 0.4 0.5'
opdefaultcolor Cop2 ropnet 'RGB 0.55 0.3 0.4'
opdefaultcolor Cop2 shopnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Cop2 switch 'RGB 0.8 1 0.7'
opdefaultcolor Cop2 vopnet 'RGB 0.3 0.3 0.3'

# Driver
opdefaultcolor Driver chopnet 'RGB 0.67 0.4 0.25'
opdefaultcolor Driver cop2net 'RGB 0.5 0.5 0.35'
opdefaultcolor Driver dopnet 'RGB 0.7 0.9 0.6'
opdefaultcolor Driver matnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Driver shopnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Driver switch 'RGB 0.8 1 0.7'
opdefaultcolor Driver vopnet 'RGB 0.3 0.3 0.3'

# Shop
opdefaultcolor Shop chopnet 'RGB 0.67 0.4 0.25'
opdefaultcolor Shop dopnet 'RGB 0.7 0.9 0.6'
opdefaultcolor Shop matnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Shop ropnet 'RGB 0.55 0.3 0.4'
opdefaultcolor Shop vopnet 'RGB 0.3 0.3 0.3'

# Chop
opdefaultcolor Chop blend 'RGB 0.55 0.7 0.55'
opdefaultcolor Chop constraintblend 'RGB 0.55 0.7 0.55'
opdefaultcolor Chop constraintexport 'RGB 0.384 0.184 0.329'
opdefaultcolor Chop cop2net 'RGB 0.5 0.5 0.35'
opdefaultcolor Chop dopnet 'RGB 0.7 0.9 0.6'
opdefaultcolor Chop file 'RGB 0.9 0.8 0.55'
opdefaultcolor Chop matnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Chop ropnet 'RGB 0.55 0.3 0.4'
opdefaultcolor Chop shopnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Chop simpleblend 'RGB 0.55 0.7 0.55'

# Vop
opdefaultcolor Vop bind 'RGB 0.6 0.6 1'
opdefaultcolor Vop constant 'RGB 0 0 0'
opdefaultcolor Vop parameter 'RGB 1 1 0.4'
opdefaultcolor Vop rampparm 'RGB 1 1 0.4'
opdefaultcolor Vop visualize 'RGB 0.5 0 0'

# Sop
opdefaultcolor Sop block_begin 'RGB 0.9 0.5 0'
opdefaultcolor Sop block_end 'RGB 0.9 0.5 0'
opdefaultcolor Sop chopnet 'RGB 0.67 0.4 0.25'
opdefaultcolor Sop cop2net 'RGB 0.5 0.5 0.35'
opdefaultcolor Sop copy 'RGB 1 0.65 0.1'
opdefaultcolor Sop copytopoints 'RGB 1 0.65 0.1'
opdefaultcolor Sop copyxform 'RGB 1 0.65 0.1'
opdefaultcolor Sop dopnet 'RGB 0.7 0.9 0.6'
opdefaultcolor Sop file 'RGB 0.9 0.8 0.55'
opdefaultcolor Sop filecache 'RGB 0.9 0.8 0.55'
opdefaultcolor Sop filemerge 'RGB 0.9 0.8 0.55'
opdefaultcolor Sop matnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Sop null 'RGB 0 0 0'
opdefaultcolor Sop rop_alembic 'RGB 0.65 0.4 0.5'
opdefaultcolor Sop rop_geometry 'RGB 0.65 0.4 0.5'
opdefaultcolor Sop ropnet 'RGB 0.55 0.3 0.4'
opdefaultcolor Sop shopnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Sop switch 'RGB 0 0 0'
opdefaultcolor Sop testgeometry_pighead 'RGB 0.52 0.8 0.9'
opdefaultcolor Sop testgeometry_rubbertoy 'RGB 0.52 0.8 0.9'
opdefaultcolor Sop testgeometry_shaderball 'RGB 0.52 0.8 0.9'
opdefaultcolor Sop testgeometry_squab 'RGB 0.52 0.8 0.9'
opdefaultcolor Sop vdb 'RGB 1 1 1'
opdefaultcolor Sop volume 'RGB 1 1 1'
opdefaultcolor Sop vopnet 'RGB 0.3 0.3 0.3'

# Dop
opdefaultcolor Dop bulletrbdsolver 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop chopnet 'RGB 0.67 0.4 0.25'
opdefaultcolor Dop clothobject::2.0 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop clothsolver::2.0 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop cop2net 'RGB 0.5 0.5 0.35'
opdefaultcolor Dop crowdfuzzylogic 'RGB 0.9 0.6 0.3'
opdefaultcolor Dop crowdobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop crowdsolver::3.0 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop crowdstate::3.0 'RGB 0.9 0.35 0.85'
opdefaultcolor Dop crowdtransition::3.0 'RGB 0.4 0.8 95'
opdefaultcolor Dop crowdtrigger::2.0 'RGB 1 0.5 0.2'
opdefaultcolor Dop crowdtriggerlogic::2.0 'RGB 0.9 0.6 0.3'
opdefaultcolor Dop emptyobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop file 'RGB 0.9 0.8 0.55'
opdefaultcolor Dop filedata 'RGB 0.9 0.8 0.55'
opdefaultcolor Dop finiteelementsolver::2.0 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop flipobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop flipsolver::2.0 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop groundplane 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop hybridobject::2.0 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop matnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Dop null 'RGB 0.65 0.75 0.9'
opdefaultcolor Dop output 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop popgrains 'RGB 0.7 0.7 0.5'
opdefaultcolor Dop popobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop popsolver::2.0 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop popsource::2.0 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop pyrosolver::2.0 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop rbdfracturedobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop rbdobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop rbdpackedobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop rigidbodysolver 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop rop_dop 'RGB 0.65 0.4 0.5'
opdefaultcolor Dop ropnet 'RGB 0.55 0.3 0.4'
opdefaultcolor Dop shopnet 'RGB 0.3 0.5 0.65'
opdefaultcolor Dop smokeobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop smokesolver::2.0 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop solidobject::2.0 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop sourcefilaments 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop sourcevolume 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop staticobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop switch 'RGB 0.8 1 0.7'
opdefaultcolor Dop switchsolver 'RGB 0.7 0.7 0.7'
opdefaultcolor Dop terrainobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop vopnet 'RGB 0.3 0.3 0.3'
opdefaultcolor Dop whitewaterobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop whitewatersolver 'RGB 0.5 0.8 0.5'
opdefaultcolor Dop wireobject 'RGB 0.6 0.6 0.6'
opdefaultcolor Dop wiresolver 'RGB 0.5 0.8 0.5'
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
Any changes on this after 16.5? It seems opdefaultcolor do not work anymore when setting the defaults colors in OPcustomize file.

Also can someone tell me how the new Color theme settings work in order to set my own theme? I can duplicate any of the existing themes but I cannot seem to be able to save my own personal changes.
https://www.imdb.com/name/nm8408875/ [www.imdb.com]
User Avatar
Staff
4435 posts
Joined: July 2005
Offline
The node color and shape themes have replaced the OPcustomize mechanism.

Once you create your own theme, just ctrl+drag from the color or shape palette onto a node to set the deafult color/shape for that node's type. The theme changes are applied and saved immediately.
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
mtucker
The node color and shape themes have replaced the OPcustomize mechanism.

Once you create your own theme, just ctrl+drag from the color or shape palette onto a node to set the deafult color/shape for that node's type. The theme changes are applied and saved immediately.
Thank you… That info should be included in the help file.
https://www.imdb.com/name/nm8408875/ [www.imdb.com]
User Avatar
Member
6 posts
Joined: Nov. 2013
Offline
mtucker
The node color and shape themes have replaced the OPcustomize mechanism.

Once you create your own theme, just ctrl+drag from the color or shape palette onto a node to set the deafult color/shape for that node's type. The theme changes are applied and saved immediately.
And which file did those changes save in ?
User Avatar
Member
100 posts
Joined: Aug. 2018
Online
where those changes are saved ?
thx
- David
User Avatar
Member
61 posts
Joined: April 2018
Offline
Custom node color and shape themes are saved as `.nodecolors` and `.nodeshapes` files under $HOUDINI_USER_PREF_DIR. For a theme named, say, `Personal`, the corresponding files will be `Personal_theme.nodecolors` and `Personal_theme.nodeshapes`. You can also inspect the built-in themes under $HFS/houdini.
  • Quick Links