Glassworks Engineering

GlassworksEng

About Me

INDUSTRY
Film/TV

Connect

LOCATION
United Kingdom
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Possible to change Environment variable without closing? March 5, 2021, 4:22 a.m.

Hello,

I'm currently using this environment variable in my houdini.env

HOUDINI_OTLSCAN_PATH = C:/path/to/my/otls

But I would like to find a way to change it when opening a new scene file (i.e without closing Houdini) Is this possible?

Is there a command I can run to change it to:
HOUDINI_OTLSCAN_PATH = C:/new/path/to/my/new/otls
for example?

Thanks

How to drag drop Houdini Node onto QtWidgets.QLineEdit Nov. 2, 2018, 12:44 p.m.

pisces
@eng, I am curious did you solve the problem, I run into the same problem

Hey, I ended up just populating it by opening up an Explorer window to a specific location (to allow the user to select a file):

def selectInputFileSeq(self):
    textboxValue=QtWidgets.QFileDialog.getOpenFileName(self, 'Select file from bgeo sequence', currentHipFileLocation, '*.bgeo.sc')
    if textboxValue:
        try:
            bgeo = str(textboxValue[0]).split(".")[:-3][0] + ".$F4.bgeo.sc"
            self.bgeoInput.setText(bgeo)
        except:
            print "Please slecet a .bgeo.sc file!"
    else:
        print "Nothing selected!"

Not what you're after exactly, but I hope it helps.

$HFS - Why does it have "~" in the path ?? Feb. 22, 2018, 11:54 a.m.

Oh perfect!

Thanks for that