deadalvs
Dec. 17, 2016 07:38:33
hi,
is there an official list of which MEL and Python bindings are available to control an asset via script?
any input welcome!
awong
Dec. 21, 2016 21:58:42
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
Dec. 26, 2016 06:44:26
awesome - much appreciated!
matt