Alex Majewski

alexmajewski

About Me

EXPERTISE
Developer
INDUSTRY
Advertising / Motion Graphics

Connect

LOCATION
Poznan, Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Using opdef: SVG image embedded in HDA in a PySide6 dialog? Jan. 16, 2026, 7:15 a.m.

@tamte I was able to do this:

from PySide6.QtSvgWidgets import QSvgWidget
from PySide6.QtCore import QByteArray

icon_data = hou.readFile("opdef:/Driver/at_deadline?IconSVG")
icon_widget = QSvgWidget()
icon_widget.load(QByteArray(icon_data))
icon_widget.setFixedSize(32, 32)

And it seems to work! Many thanks

Using opdef: SVG image embedded in HDA in a PySide6 dialog? Jan. 16, 2026, 4:24 a.m.

I programmed a custom pyside dialog for my HDA and used QSvgWidget to display an icon (as a widget).
QSvgWidget("path/to/image_on_my_hard_drive.svg")

I was wondering if it's possible to achieve the same result with an SVG embedded in my HDA? Alternatively, a regular pixmap or something would be okay too.

Polysplit Node Nonsense Jan. 14, 2026, 4:53 a.m.

I see. So there still is some risk, just small. On a funny note, one time we encountered different results on two Windows machines (same Houdini version), where one machine's UV Texture SOP would always unwrap the same Grid SOP upside down. It would even do that on a fresh new scene.

In the context of a render farm, we render by first exporting scenes to .rs/.usd and then rendering as a separate job, so I'm just going to limit Houdini export jobs to the platform that submitted the scene. Linux machines will do the final rendering with Husk/RedshiftCMD and not scene cooking.

Thank you very much.