Adam Swaab

aswaab

About Me

Expertise
Technical Director
Location
United States

Connect

My Tutorials

obj-image Intermediate
Falloff Controllers in Houdini
obj-image Intermediate
Custom F-Curves
obj-image Beginner
Houdini Jumpstart Vol 8 - Intro to Lighting and Rendering with Mantra
obj-image Intermediate
LearnSquared - Houdini Particles

Recent Forum Posts

Drag and Drop from Python Panel into Houdini Parm Oct. 31, 2019, 2:04 a.m.

How can I set this up? I have drag enabled on my widget, so it drags, but I don't get any results when dropping into a Houdini parm. Any guidance would be appreciated. Thanks!

Python Panel UI not scaling when using pixel dimensions Oct. 19, 2019, 6:04 p.m.

Guessing I need to use hou.ui.scaledSize() everywhere I need to use pixel dimensions.

Python Panel UI not scaling when using pixel dimensions Oct. 19, 2019, 5:52 p.m.

Hi,

I have some elements in my python panel that need to be defined in pixels (I have a QGraphicSceneView with QGraphicScene and QGraphicsItems in it). On my regular monitor, all is good. On a high DPI monitor, everything is too small. Also, doesn't respond to changes in the global UI scale. I have tried setting QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True), but that doesn't seem to have an effect.

Any ideas?

Thanks!