vgaddipa Posted April 1, 2014 Share Posted April 1, 2014 I am looking for sample code to help bind a translate handle and bind the tx,ty,tz to custom SOP node parameters. Any direction would be much appreciated! Quote Link to comment Share on other sites More sharing options...
edward Posted April 2, 2014 Share Posted April 2, 2014 I've never tried but you can try doing BMgetResourceManager() and then run bind() method calls (in its superclass PI_ResourceManager) .. this is basically what the ombind hscript command uses. Perhaps it is possible to use it in your installSopOperator() entry point. Quote Link to comment Share on other sites More sharing options...
vgaddipa Posted April 3, 2014 Author Share Posted April 3, 2014 doing the PIgetResourceManager()->bind in the "newOpHandleBinding" hook did the trick. Although I had to bind to "translate" param handle link three times one each for "tx", "ty" and "tz" Thanks! Quote Link to comment Share on other sites More sharing options...
edward Posted April 3, 2014 Share Posted April 3, 2014 Oh hey! I learn something new everyday! 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.