I’m pretty new to programming and all. I’ve been trying to write a Python version of Jarek’s SetTargetToCursor script to learn Python but also to try and make a cross-platform version of the script.
I’m stuck at ‘translating’ the code snippet to re-position the cursor to the center of the screen since RhinoScript can use a SetCursorPos() method, but I don’t see that available in the RhinoScriptSyntax API nor in the RhinoCommon API.
Call Rhino.SetCursorPos(Rhino.XformWorldToScreen(arrNT,, True))
Am I missing something or is there a workaround that I have not found, or is this functionality not available for Python scripting?