doctorbob

doctorbob

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Animation Editor -- Channel Properties before/after keyframe April 1, 2024, 6:32 p.m.

this is a delightful and long standing bug. welcome to the party, pal.

the workaround is to right-click the channel in the anim editor list, and you can get to the extrapolation from there

cheers,
chrisg

Houdini Crash Message when closed after using PyQt July 25, 2023, 12:32 a.m.

without knowing anything about your UI or what it's doing or how it's constructed...

if you're using qThreads and they're still running when you close the dialog, you'll usually get an insta-crash like this.

so something like

    def closeEvent(self, event):
        super(MyNodeUI, self).closeEvent(event)
        # self.worker is a reference to a QThread in this case
        if self.worker:
            logger.debug("waiting for worker thread")
            # wait for the thread to finish cleanly
            self.worker.wait()
        self.deleteLater()

Setting background image on render view using python July 18, 2023, 10:41 p.m.

Hey there,

you can do it, by calling a hscript command

copPath = "/my/plate/here.exr"
hou.hscript('imgdispopt -f %s' % copPath)

cheers,
chrisg