SideFX Houdini customization package
git clone https://git.lucas.co/hou-control.git
hc: dock the playbar in the scene viewer pane
Saved out of Houdini after moving the playbar onto the scene viewer, so
the format is Houdini's own rather than a guess: `playbar` is a pane
index, 0 being the scene viewer's, and -1 -- what every stock desktop
uses -- is the window-bottom default. It also wrote an animbarshown field
the file did not have. hc_detached gets the same playbar 0; its scene
viewer is likewise the first and only docked pane.
The save carried two unrelated sets of changes with it, since Houdini
writes the whole current state:
Every pane's path hint went from -H /obj/geo1/ -T SOP to -H /obj/ -T OBJ.
The session that saved it came up empty -- the startup prompt is off now,
so no file was loaded and /obj/geo1 did not exist. A fresh session opens
those panes at /obj rather than diving in.
The network editor pref blob absorbed the live values: gridxstep 2.0 ->
1.99 and gridystep 1.0 -> 0.99 are hc_settings.json's grid, which
_gridStep() mirrors onto the pane pref on every UI event, so the desk
file has caught up with what HC was already doing. gridmode, showgrid,
palettesize and overviewbounds came along too.
Co-Authored-By: Claude Opus 5 <[email protected]>
desktop/hc_attached.desk | 19 ++++++++++---------
desktop/hc_detached.desk | 2 +-
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/desktop/hc_attached.desk b/desktop/hc_attached.desk
index 2c36cbe..c9a3db1 100644
--- a/desktop/hc_attached.desk
+++ b/desktop/hc_attached.desk
@@ -1,6 +1,7 @@
fullscreen -1
playbarshown 1
-playbar -1
+animbarshown 0
+playbar 0
shelf 0
menubar -1
statusbar -1
@@ -9,23 +10,23 @@ root {
split 0.621347 H {
split 0.274328 V R {
tabs 0 0 {
- pane panetab0 -a 1 -l 10 -H /obj/geo1/ -T SOP -m sceneview
+ pane panetab0 -a 1 -l 10 -H /obj/ -T OBJ -m sceneview
pane panetab1 -a 1 -l 10 -H /img/ -T IMG -m imageview
- pane panetab2 -a 1 -l 10 -H /obj/geo1/ -T SOP -m details
+ pane panetab2 -a 1 -l 10 -H /obj/ -T OBJ -m details
}
tabs 0 0 {
- pane panetab3 -a 1 -l 10 -H /obj/geo1/ -T SOP -m details
+ pane panetab3 -a 1 -l 10 -H /obj/ -T OBJ -m details
}
}
split 0.586191 V {
tabs 0 0 {
- pane panetab4 -a 1 -l 10 -H /obj/geo1/ -T SOP -m parmeditor
+ pane panetab4 -a 1 -l 10 -H /obj/ -T OBJ -m parmeditor
pane panetab5 -a 0 -l 0 -H /obj/ -T OBJ -m python
}
tabs 0 0 {
- pane panetab6 -a 0 -l 0 -H /obj/geo1/ -T SOP -m neteditor
- pane panetab7 -a 1 -l 10 -H /obj/geo1/ -T SOP -m details
- pane panetab8 -a 1 -l 10 -H /obj/geo1/ -T SOP -m pythonpanel
+ pane panetab6 -a 0 -l 0 -H /obj/ -T OBJ -m neteditor
+ pane panetab7 -a 1 -l 10 -H /obj/ -T OBJ -m details
+ pane panetab8 -a 1 -l 10 -H /obj/ -T OBJ -m pythonpanel
}
}
}
@@ -43,7 +44,7 @@ scenegraphtree -S 0.25 -m 2 -p "/collections /lights" -c -i -o -x 1 -s 1 -M 0
geospreadsheet -c 0 -l horizontal -s 0.5 -m none -f 0 panetab3
scenegraphtree -S 0.25 -m 2 -p "/collections /lights" -c -i -o -x 1 -s 1 -M 0 -C primtype,childcount,kind,populated,loaded,activation,visibility,solo,selectability panetab3
parmeditor -T 0.25 -w 0 panetab4
-networkeditor -p '{\n "backgroundimagebrightness":"1.0",\n "gridmode":"0",\n "showcopsmenu":"1",\n "taskgraphcollapsemode":"Off",\n "showtasksmenu":"1",\n "useworkitemcolorattribute":"0",\n "typesidebarsplit":"0.25",\n "showmenu":"0",\n "gridxstep":"2.0",\n "treesplit":"0.25",\n "showparmdialogmax":"1",\n "perfstatname":"Time",\n "palettemode":"0",\n "taskgraphsortdirection":"0",\n "showchilddep":"1",\n "backgroundimageediting":"0",\n "showtaskgraphperf":"0",\n "showgrouplist":"0",\n "showperfstats":"1",\n "showparmdialog":"0",\n "overviewmode":"2",\n "showdep":"0",\n "palettecolors":"",\n "showgrid":"0",\n "showspareinputdep":"1",\n "workitemcolorattribute":"",\n "palettesize":"345 345",\n "showtypesidebar":"0",\n "showtree":"0",\n "overviewbounds":"0.000000 0.000000 435.000000 358.200000",\n "taskgraphperfstatname":"Cook Time",\n "gridystep":"1.0",\n "taskgraphsortcriteria":"Automatic",\n "workitemattrtocollapseby":"",\n "grouplistsplit":"0.75"\n}\n' panetab6
+networkeditor -p '{\n "backgroundimagebrightness":"1.0",\n "gridmode":"2",\n "showcopsmenu":"1",\n "taskgraphcollapsemode":"Off",\n "showtasksmenu":"1",\n "useworkitemcolorattribute":"0",\n "typesidebarsplit":"0.25",\n "showmenu":"0",\n "gridxstep":"1.99",\n "treesplit":"0.25",\n "showparmdialogmax":"1",\n "perfstatname":"Time",\n "palettemode":"0",\n "taskgraphsortdirection":"0",\n "showchilddep":"1",\n "backgroundimageediting":"0",\n "showtaskgraphperf":"0",\n "showgrouplist":"0",\n "showperfstats":"1",\n "showparmdialog":"0",\n "overviewmode":"2",\n "showdep":"0",\n "palettecolors":"",\n "showgrid":"0",\n "showspareinputdep":"1",\n "workitemcolorattribute":"",\n "palettesize":"345 345",\n "showtypesidebar":"0",\n "showtree":"0",\n "overviewbounds":"0.000000 0.000000 298.447320 346.084104",\n "taskgraphperfstatname":"Cook Time",\n "gridystep":"0.99",\n "taskgraphsortcriteria":"Automatic",\n "workitemattrtocollapseby":"",\n "grouplistsplit":"0.75"\n}\n' panetab6
netcolumns -c display,xray,select,origin,capture,bone -n OBJ panetab6
netcolumns -c display,render,template,selectabletemplate,highlight,unload,bypass,lock -n SOP panetab6
netcolumns -c delscript,comment -n CHOPNET panetab6
diff --git a/desktop/hc_detached.desk b/desktop/hc_detached.desk
index 5e03d3c..4f56fb0 100644
--- a/desktop/hc_detached.desk
+++ b/desktop/hc_detached.desk
@@ -1,6 +1,6 @@
fullscreen -1
playbarshown 1
-playbar -1
+playbar 0
shelf 0
menubar -1
statusbar -1