magneto Posted February 8, 2015 Share Posted February 8, 2015 Hi, I don't know if they are presets but I mean the TAB menu in H14 has entries like "Point Wrangle" or "Primitive Wrangle" but they don't exist as actual SOPs. When you use them, they create an AttribWrangle initialized to specific values. How can I achieve the same thing to customize the existing SOPs and VOPs? Thanks Quote Link to comment Share on other sites More sharing options...
ayidi Posted February 9, 2015 Share Posted February 9, 2015 An otl that runs script that generates the SOPs and VOPs. To make it easy use: hou.node('/path/to/node').asCode() Quote Link to comment Share on other sites More sharing options...
ayidi Posted February 9, 2015 Share Posted February 9, 2015 To help a bit more: Editor Operator Type Properties > Tools: - Remove (import soptoolutils ... ) - Insert your script that generates an existing SOP Quote Link to comment Share on other sites More sharing options...
magneto Posted February 9, 2015 Author Share Posted February 9, 2015 Thanks but doesn't that require you to modify existing SOPs? I don't want to modify the built-in SOPs. Also there is no Primitive Wrangle etc inside the Tools tab of AttribWrangle or anywhere else in that dialog. Quote Link to comment Share on other sites More sharing options...
edward Posted February 9, 2015 Share Posted February 9, 2015 The TAB menu items are the same thing as the shelve tools. In shelf tool, you can control where it is visible. To see how "Primitive Wrangle" is done by looking in $HH/toolbar/ExtraTools.shelf. The easiest way to do your own then is to create a new shelf and then add the tools that you want. The Label is what shows up in the TAB menu. 3 Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted February 9, 2015 Share Posted February 9, 2015 Search for: $HFS\houdini\toolbar\Extra Tools.shelf file. More about shelf using shelf files => http://forums.odforce.net/topic/17626-custom-tab-submenu-and-selector-to-not-reuse-selection/ 1 Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted February 9, 2015 Share Posted February 9, 2015 I was first! Quote Link to comment Share on other sites More sharing options...
ayidi Posted February 9, 2015 Share Posted February 9, 2015 Thanks but doesn't that require you to modify existing SOPs? I don't want to modify the built-in SOPs. Also there is no Primitive Wrangle etc inside the Tools tab of AttribWrangle or anywhere else in that dialog. Sorry it was not clear, I meant creating a New Operator Type... and put the code there to generate the nodes. Using a shelf tool also works as pointed out above but doesn't have the benefits of otls. 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted February 9, 2015 Author Share Posted February 9, 2015 Thanks guys, the shelf technique worked great 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.