I’m trying to create a custom move tool.
I see the following code to use a ‘built in’ SketchUp cursor:
# Here we have hard coded a special ID for the pencil cursor in SketchUp. # Normally you would use `UI.create_cursor(cursor_path, 0, 0)` instead # with your own custom cursor bitmap: # # CURSOR_PENCIL = UI.create_cursor(cursor_path, 0, 0) CURSOR_PENCIL = 632 def onSetCursor # Note that `onSetCursor` is called frequently so you should not do much # work here. At most you switch between different cursor representing # the state of the tool. UI.set_cursor(CURSOR_PENCIL) end
Taken from this example:
I’m wondering if there is a list of values for other SketchUp cursors (specifically the move tool cursor), and if they are ‘safe’ to use in an extension.