Nathan Mooth

NFX

About Me

専門知識
Technical Director
INDUSTRY
Film/TV

Connect

LOCATION
United States
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Copy/Paste Hotkeys Not Working in Python Panel 2026年7月21日15:08

It's been a few years since this was posted, but I recently ran into this issue again. Along with the context menu solution, I found this to work as well:

from PySide2 import QtWidgets, QtCore, QtGui

class CopyableTextEdit(QtWidgets.QTextEdit):
    def keyPressEvent(self, event):
        if event.matches(QtGui.QKeySequence.Copy):
            QtWidgets.QApplication.clipboard().setText(self.textCursor().selectedText())
            return
        if event.matches(QtGui.QKeySequence.Paste):
            self.insertPlainText(QtWidgets.QApplication.clipboard().text())
            return
        if event.matches(QtGui.QKeySequence.Cut):
            clip = self.textCursor().selectedText()
            QtWidgets.QApplication.clipboard().setText(clip)
            self.textCursor().removeSelectedText()
            return
        super(CopyableTextEdit, self).keyPressEvent(event)

import hou
hou.session.text_widget = CopyableTextEdit(parent=hou.qt.mainWindow())
hou.session.text_widget.setWindowFlags(QtCore.Qt.Window)
hou.session.text_widget.show()
hou.session.text_widget.setPlainText('Hello World!')

Character anim transforms to Solaris like Alembic Layering 2022年4月29日12:29

I realize that this is a year late, and you've probably discovered the answer to this by now, but from what I understand you have two options. If the character is only doing rigid transforms, then you can set up your hierarchy so that each limb is a separate object that can then have transformations applied to it.

However if you are doing deformations then it is my understanding that only option is to override the entire cache with another cache containing the animated deformations.

How to render Pyro in Solaris with Arnold? 2021年7月9日14:55

That was the trick. Thanks! To bad that the SOP Import and SOP Create lops don't work for this.