beeemtee Posted June 30, 2011 Share Posted June 30, 2011 Hi, what is the best way to put the content of the component selection into the group field of a newly created SOP operator? (for example a VOP SOP) Could the soptoolutils module help in this? Thanks in advance! Mate Quote Link to comment Share on other sites More sharing options...
graham Posted June 30, 2011 Share Posted June 30, 2011 If you've manually created your operator, once you have a hou.GeometrySelection for whatever components you want, just call hou.GeometrySelection.mergedSelectionString() to get the string of components and assign that to the group field. If you want Houdini to take care of the operator creation as well you can use something like soptoolutils.scriptSopFilterTool(). Quote Link to comment Share on other sites More sharing options...
beeemtee Posted July 8, 2011 Author Share Posted July 8, 2011 (edited) Thanks! Is there an explanation somewhere how the soptoolutils module should be used? The documentation included in the source seems to be rather incomplete. Mate Edited July 8, 2011 by beeemtee Quote Link to comment Share on other sites More sharing options...
beeemtee Posted July 11, 2011 Author Share Posted July 11, 2011 (edited) I also found this: http://www.sidefx.com/docs/houdini11.0/hom/hou/SopNodeType#addSelector Have not tried it yet, but it seems to be a bit more elegant than implementing this by hand. Edited July 11, 2011 by beeemtee 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.