Jump to content
kursad

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

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

if you already have a tool, you can just simply drag&drop it to the shell

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×