ITdreamer Posted December 14, 2012 Share Posted December 14, 2012 (edited) Hello friends I've stuck with this issue I need to create a python script which will ask user to select a point (in the statusBar), create a null and move it to the selected point position, then link point's position to that null. But i've stuck with UI. Of cource I can do it by hands using nodes, but I want to create this tool to save some time in future, and to raise my knowledge in houdini python API. How can I ask a user to select a point, and get that point? The python API is so huge, that I can't find right methods. Thanks Edited December 14, 2012 by ITdreamer Quote Link to comment Share on other sites More sharing options...
michael Posted December 14, 2012 Share Posted December 14, 2012 there are posts here and on the SESI forums on this...some by JeffW I think... but AFAIK there are no step by step tutorials on doing this kind of thing - which I would LOVE...I have lots of little tools that require this exact workflow (prompt user to select something, do some stuff, profit!) post back here if you find something that gets it done for you! Quote Link to comment Share on other sites More sharing options...
anim Posted December 14, 2012 Share Posted December 14, 2012 I think sometimes google can answer you quicker https://sites.google.com/site/fujitarium/Houdini/python-houdini/python-template/select-point-prim Quote Link to comment Share on other sites More sharing options...
ITdreamer Posted December 15, 2012 Author Share Posted December 15, 2012 I think sometimes google can answer you quicker https://sites.google...lect-point-prim This is not what I was looking for. Quote Link to comment Share on other sites More sharing options...
edward Posted December 15, 2012 Share Posted December 15, 2012 Funny, I followed the link and it looked like it had the answer to your question. Of course, it used primitives instead of points but the method calls are the same. 1 Quote Link to comment Share on other sites More sharing options...
anim Posted December 15, 2012 Share Posted December 15, 2012 and notice that link has 3 further links to sidefx forum posts with plenty of information on the subject with sample scripts Quote Link to comment Share on other sites More sharing options...
ITdreamer Posted December 15, 2012 Author Share Posted December 15, 2012 Hmm! I'll check it out again. Maybe I missed something. Thanks 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.