I know that some parts of houdini python implementation require UI (like timeslider) but is there a way to execute .clickButton() method without UI?
I'm writing pipeline script that transfers assets from maya to houdini. I'm exporting everything from maya in alembic files and importing them into houdini.
Since I need full hierarchy in houdini I have to use alembicArchive, not alembic node.
Is there a way to force parm().clickButton() to work without UI or is there a workaround for this?
thanks.
edit:
of course that i meant pressButton() method instead clickButton … lapsus.
Also I found that I can call calback script on this button (item.hdamodule().BuildHierarchyRoot(item)) or do i via hscript's “opparm -c” but that also does not work without UI … so I'm still on square one.
I know that there is a possibility to build alembic hierarchy myself, but I would like to avoid that if possible.
SOLVED!
Problem was in path to .abc file (node.parm(“fileName”))
I was expecting that houdini will throw an error on invalid path. Instead, it just kept working …
