Guest mantragora Posted May 16, 2014 Share Posted May 16, 2014 (edited) ... doesn't work with my custom OTLs? When I create "null.py" it gets called, but when I create python file with my OTL operator type as name, it's ignored. Should I put it in different place than for normal nodes? Thanks! Edited May 16, 2014 by mantragora Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted May 17, 2014 Share Posted May 17, 2014 (edited) Well, when I created "explodedview.py" it was also ignored, so that means that for OTL script should be placed in different location than for normal SOP. I tried to create "otls" folder in "scripts" and in "scripts/sop" folder and then put initialization script there, but it was also ignored. Anyone? Edited May 17, 2014 by mantragora Quote Link to comment Share on other sites More sharing options...
edward Posted May 20, 2014 Share Posted May 20, 2014 Probably because there's already an initialization script created for your OTL that is found first. I don't know if you can avoid that easily. Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted May 20, 2014 Share Posted May 20, 2014 Well, you're really letting the oxygen out of my tank here! I'm in the process of fixing some old tools and I wanted to use CreationScript instead of PreFirstCreate event in OTL to add selectors and manage couple other things. Any other advice? Thanks. Quote Link to comment Share on other sites More sharing options...
edward Posted May 20, 2014 Share Posted May 20, 2014 See: - http://www.sidefx.com/docs/houdini13.0/assets/advanced_otl - http://www.sidefx.com/docs/houdini13.0/commands/otexpand - http://www.sidefx.com/docs/houdini13.0/commands/otcollapse And you'll also have to tell it to not save initialization scripts in the Operator Type Properties > Basic. 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.