
I'm trying to add variables to the "Variable" window inside "Aliases and Variables"
This is the code i have so far.
import hou
fullFilepath = hou.hipFile.path()
project = fullFilepath.split("/")
step = fullFilepath.split("/")
assetType = fullFilepath.split("/")
asset = fullFilepath.split("/")
step = fullFilepath.split("/")
hou.putenv('PROJECT', project)
hou.putenv('STEP', step)
hou.putenv('ASSET_TYPE', assetType)
hou.putenv('ASSET', asset)
hou.putenv('STEP', step)
This code fixes so i can use the variables like "$SHOT" inside Houdini, but they don't get added to the list of variables :/
Does anyone have a python solution for this?
Crossing fingers for some wisdom and wise words

