I want to get the mouse position of rhino, I found a way to locate the mouse position of rhino library, but I seem to be using it wrong, I am not sure how to use it for the first time, please help me Thank you very much
Here’s my code and the error
Code:
import Rhino as rh
mouse_Location = rh.UI.MouseCursor.Location()
print(mouse_Location)
Report an error:
Traceback (most recent call last):
File "file:///C:/Users/ouyang/.rhinocode/stage/clqd4gtz.2c1", line 2, in <module>
TypeError: 'Point2d' object is not callable