Jump to content

Accesing hou modules in maya


Hello world

Recommended Posts

You'll need to do something along these lines:

http://www.sidefx.com/docs/houdini11.1/hom/commandline

Hi G,

Thank you for the reply.

1) could you tell me how to source houdini set to the $HFS path

2Could you tell me which file do we need to insert these lines into?

3)can we just open a new python file and paste this.

I have did

1)import sys

sys.path.append('c:\\Program Files\\Side Effects Software\\Houdini 11.0.547\\houdini\\python2.5libs')

and then after i typed dir(sys.path)

I was able to see the $HFS in the sys.path

but now

if i type

import hou

>>> import hou

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "C:\Program Files\Side Effects Software\Houdini 11.0.547\houdini\python2.

5libs\hou.py", line 45

raise AttributeError,name

2) I have also did set the path to point the $HFS/bin in the environment variables

Also it seems that I would need to set it up everytime.Is there a way for this.

Im getting this error.

Please guide me

Edited by Hello world
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...