Below is a small script I wrote to investigate why my use of markers isn’t working. Basically, it draws a sphere, marks the sphere, empties the canvas, and then clicks on the marker to restore the sphere.
First, a few things I already know; the marker is set properly, at (200,200), and clicking at that location by hand after the script runs does restore the sphere. Apparently it is the final “CanvasClick” which isn’t working as expected.
Second; is there a better way to empty the canvas? The roundabout way I’m doing it is to choose the simple brush and paint a bit with it, to force the current 3d object to be painted to the canvas, so that a layer clear will then clear everything. But it would be more elegant if I could simply delete the 3d object itself.
[RoutineDef, Init,
]
[RoutineCall, Init]
Thanks,
Ken