Cannot find procedure "AEhoudiniAssetSetInputToSelection"

   2815   1   0
User Avatar
Member
7 posts
Joined: Aug. 2009
Offline
I'm writing function for Houdini polyReduce within Maya as part of an external application, and am running into this error:
MayapyProcess.mayapy: ERROR: line 1: Cannot find procedure “AEhoudiniAssetSetInputToSelection”

This call works fine within Maya's console, and python (rather than mel.eval()) calls to Houdini Engine work externally – is there something I need to do to get this working in an external script?

Thanks
User Avatar
Member
7 posts
Joined: Aug. 2009
Offline
I figured out the issue - the python environment was properly sourcing Houdini Engine, but the mel environment was not. Adding mel.eval(“source \”/path/to/houdini/engine/source\“”) allowed it to run properly.
Edited by MBAustin - Feb. 17, 2017 17:19:10
  • Quick Links