Eventwatcher example help


#1

Hi, I am trying to figure out how an event watcher works and first of all I wonder if I can have one object following another as if they were in a block together?
My first goal is to have a sphere fit and follow inside the boundingbox of another object but I don’t know where to start. So if you have a link to an example to push me in the right direction I would be thrilled!
(I the python editor for programming.)

Thanks for any help!


(Dale Fugier) #2

Hi @Holo,

If you need samples of how to create event watchers, here are two:

https://github.com/mcneel/rhino-developer-samples/blob/6/rhinopython/SampleEventHandler.py

https://github.com/mcneel/rhino-developer-samples/blob/6/rhinopython/SampleEtoModelessForm.py

– Dale