検索 - User list
Full Version: MEL and Python bindings?
Root » Houdini Engine for Maya » MEL and Python bindings?
deadalvs
hi,

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

any input welcome!
awong
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.
deadalvs
awesome - much appreciated!

matt
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB