deadalvs
2016年12月17日 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
2016年12月21日 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
2016年12月26日 06:44:26
awesome - much appreciated!
matt