Jump to content

Python Console Reflection


Recommended Posts

Do you want to see what Houdini is doing for scripting reference or for performance monitoring? If you just want to see what is "cooking" then use the performance monitor from the Windows menu. Check the box to enable monitoring otherwise it won't record anything. If you want scripting reference then check out the help documents.

http://www.sidefx.com/docs/houdini11.0/hom/

http://www.sidefx.com/docs/houdini11.0/hom/hou/

Link to comment
Share on other sites

Do you want to see what Houdini is doing for scripting reference or for performance monitoring? If you just want to see what is "cooking" then use the performance monitor from the Windows menu. Check the box to enable monitoring otherwise it won't record anything. If you want scripting reference then check out the help documents.

http://www.sidefx.com/docs/houdini11.0/hom/

http://www.sidefx.com/docs/houdini11.0/hom/hou/

Thanks. Its more for reference. Seeing the command reflection of actions you perform in the UI in Maya is an easy way for artists to prototype scripts or create repro cases for debugging. I was just wondering if there was something similar in Houdini. It seems there is essentially a command for every action performed in the UI, but those commands are not called by the application when the actions are actually performed.

Cheers

Link to comment
Share on other sites

Thanks. Its more for reference. Seeing the command reflection of actions you perform in the UI in Maya is an easy way for artists to prototype scripts or create repro cases for debugging. I was just wondering if there was something similar in Houdini. It seems there is essentially a command for every action performed in the UI, but those commands are not called by the application when the actions are actually performed.

Cheers

Maya does most things as a process in the interface, but Houdini does things differently with the nodes. So even if you could see what it does in a console, it wouldn't be meaningful like it is in Maya. Instead you can figure out some of what Houdini does and implement it again in Python with the asCode() method for some objects. It will return the Python code necessary to recreate the object. Not all objects have this method, but a lot do.

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...