diff --git a/colorbleed/houdini/__init__.py b/colorbleed/houdini/__init__.py index 8272f8622b..f12720b395 100644 --- a/colorbleed/houdini/__init__.py +++ b/colorbleed/houdini/__init__.py @@ -2,7 +2,7 @@ import os import logging -from avalon import api as avalon, pipeline, houdini +from avalon import api as avalon # pipeline, houdini from pyblish import api as pyblish @@ -18,6 +18,7 @@ log = logging.getLogger("colorbleed.houdini") def install(): + pyblish.register_plugin_path(PUBLISH_PATH) avalon.register_plugin_path(avalon.Loader, LOAD_PATH) avalon.register_plugin_path(avalon.Creator, CREATE_PATH) diff --git a/res/houdini/123.py b/res/houdini/123.py new file mode 100644 index 0000000000..f47f185604 --- /dev/null +++ b/res/houdini/123.py @@ -0,0 +1,5 @@ +from colorbleed import houdini + +houdini.install() + +print("BANANA") \ No newline at end of file diff --git a/res/houdini/MainMenuCommon.XML b/res/houdini/MainMenuCommon.XML new file mode 100644 index 0000000000..37a058635b --- /dev/null +++ b/res/houdini/MainMenuCommon.XML @@ -0,0 +1,46 @@ + + + + + + + + + $HOME/scripts/first_script.py + + + + + $HOME/scripts/generic_script.py + -q -n camera + + + + + $HOME/scripts/generic_script.py + -q -n camera + + + + + + import hou + from avalon.tools import publish + + parent = hou.qt.mainWindow() + run = publish.show(parent) + + return True + + + + + + + + $HOME/scripts/generic_script.py + -q -n light + + + + diff --git a/res/houdini/houdini.env b/res/houdini/houdini.env new file mode 100644 index 0000000000..3645ebea8c --- /dev/null +++ b/res/houdini/houdini.env @@ -0,0 +1,22 @@ +# +# Houdini Environment Settings +# +# The contents of this file are read into the environment +# at startup. They will override any existing entries in +# the environment. +# +# The syntax is one entry per line as follows: +# VAR = VALUE +# +# Values may be quoted +# VAR = "VALUE" +# +# Values may be empty +# VAR = +# + +# Example: +# +# HOUDINI_NO_SPLASH = 1 + +HOUDINI_PATH = $COLORBLEED_CONFIG/res/houdini