Björn Henriksson

kahuna031

About Me

Expertise
Not Specified
Location
Sweden
Website

Connect

Recent Forum Posts

visualizer with a shortcut Jan. 22, 2018, 1:09 p.m.

Testing out the new network customization tools [www.sidefx.com] with attaching a shortcut to create a visualizer.

Drop nodegraphooks.py file in $HOME/houdini16.5/python2.7libs/ select a sop node with an attribute other than P and press shift-x.

houdiniEngine_setAssetInput Jan. 17, 2018, 9:19 a.m.

start with sourcing the relevant mel script:
(import pymel.core as pm)
pm.mel.eval("source houdiniEngineAssetInput")
pm.mel.eval("houdiniEngine_setAssetInput \"" + self.hdaNode.fullPath() + ".input[" + str(index) + "].inputNodeId\" {" + mayaArray + "}"
)

Edit: Also looks like you got a strange string for your command. The string is split up and you got a pythonic path for a mel command. Mel paths looks like this “|parent|object”. Remember to get the ticks right, you can first test by writing it as mel and then reformat eval style.


Btw, I do a similar thing when loading engine to access necessary commands:
if not pm.pluginInfo("houdiniEngine", q=True, loaded=True):
   pm.loadPlugin("houdiniEngine", quiet=True)
   pm.mel.eval("source AEhoudiniAssetTemplate")

Multi select in the curve SOP for 2018... please? Jan. 11, 2018, 12:06 p.m.

A insert point node would be nice regardless! But it asks a question on how we select a point on a curve in the viewport that insert point should use? Failing this and people might stay with the current aproach.