MEL and Python bindings?

   2488   2   1
User Avatar
Member
196 posts
Joined: Aug. 2011
Offline
hi,

is there an official list of which MEL and Python bindings are available to control an asset via script?

any input welcome!
User Avatar
Member
818 posts
Joined: Sept. 2013
Offline
The plugin just provides two MEL commands: houdiniEngine and houdiniAsset.
You could use the help command to see the flags:
help houdiniEngine
help houdiniAsset


For simply changing parameters, you just need to use getAttr, setAttr, and connectAttr. For sync'ing to create output nodes, you'd need houdiniAsset -sync myNodeName. These should cover most cases.

These can be run from Python by using `maya.cmds` and `maya.mel`.

The plugin also uses several MEL scripts that can be found in the scripts directory, but they are more for internal use.
Andrew / アンドリュー
User Avatar
Member
196 posts
Joined: Aug. 2011
Offline
awesome - much appreciated!

matt
  • Quick Links