Jump to content

Creating SOP nodes and list of SOP tools for using in a Python script?


kursad

Recommended Posts

Hi

What is the best way to create SOP tool nodes inside a geo node via Python? I checked the SOP tools Python codes and it looks like they use "soptoolsutils" module. Is there any other way to create SOP nodes? Also where can I get the whole list of all the available SOP tool nodes? Is there some kind of dictionary of the callable names"

thanks

Link to comment
Share on other sites

Hi.

I guess you've find the soptoolsutils by right-clicking the shelf buttons. This is used just to call an exisisting op.

To make new op, like sop, you create them using the file -> new operator type.

To get you started I would suggest you to follow rdg's tutorial on creating a simple python sop ( http://www.preset.de/2007/0711/lorenz/ ). This is will really give you a good start. Then searching houdini documentation, and looking at other people python op on this forum will give you more info.

Cheers

Nico

edit:// For a list of all the ops, just right click on any operator and select 'operator type manager'...

Edited by Div
Link to comment
Share on other sites

Hi.

I guess you've find the soptoolsutils by right-clicking the shelf buttons. This is used just to call an exisisting op.

To make new op, like sop, you create them using the file -> new operator type.

To get you started I would suggest you to follow rdg's tutorial on creating a simple python sop ( http://www.preset.de/2007/0711/lorenz/ ). This is will really give you a good start. Then searching houdini documentation, and looking at other people python op on this forum will give you more info.

Cheers

Nico

edit:// For a list of all the ops, just right click on any operator and select 'operator type manager'...

Hi

Thanks for the reply. I actually can work with the Python SOP itself. I am just trying to figure out how to call one of those functional SOPs and create them via the Python script, like adding a Particle SOP or adding a Group SOP before and after certain nodes.

I will look at the list of the type manager. Nice tip

thanks

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