Python - print selected

   1224   2   1
User Avatar
Member
9 posts
Joined: April 2015
Offline
Hi,
i am currently trying to learn Houdinis python and would like to know how to access and print selected elements.

For example I want to select a point, run the script and then print the index number of the point.
User Avatar
Member
182 posts
Joined: April 2009
Offline
Take a look at toolutils.py in /houdini/python2.Xlibs/

Also this related thread:
https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=102109&highlight= [sidefx.com]
User Avatar
Member
9 posts
Joined: April 2015
Offline
Thank you very much.
  • Quick Links