etudenc Posted July 6, 2013 Share Posted July 6, 2013 Hi all, Maybe I'm barking up the wrong tree, but I'm wondering if there's a way that, given an object name, I could enter an actual list of points in the Python shell or Source Editor for selection. Say I want to select points 15-34 on "box1" so I can group them using a group SOP. Is it possible to do so using Python? I find there are times when I'd like to use a point selection I've already made in Maya, in Houdini. Thanks for any tips! Quote Link to comment Share on other sites More sharing options...
Erik_JE Posted July 7, 2013 Share Posted July 7, 2013 Write a python snippet that creates a Group SOP and sets the pattern to 15-34. Quote Link to comment Share on other sites More sharing options...
graham Posted July 7, 2013 Share Posted July 7, 2013 Unfortunately there is still no way to create/initiate a component selection. The best you can do is prompt the user for one. As Erik said, you're best of writing some code that generates the specific end result you are looking for. Quote Link to comment Share on other sites More sharing options...
etudenc Posted July 7, 2013 Author Share Posted July 7, 2013 Thank you both. I wrote a little Maya script that spits out the point numbers in a format I can paste into a Houdini group node for those cases I indicated above. Better than nothing! 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.