kursad Posted February 6, 2011 Share Posted February 6, 2011 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 Quote Link to comment Share on other sites More sharing options...
Div Posted February 11, 2011 Share Posted February 11, 2011 (edited) 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 February 11, 2011 by Div Quote Link to comment Share on other sites More sharing options...
kursad Posted February 12, 2011 Author Share Posted February 12, 2011 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 Quote Link to comment Share on other sites More sharing options...
anim Posted February 12, 2011 Share Posted February 12, 2011 if you already have a tool, you can just simply drag&drop it to the shell Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.