I’m trying to create a script that will add materials to a SketchUp model.
This is pretty standardly adding the image, color, alpha etc… into the active model.
It’s then selecting the material that was just added, and it’s activating the paint bucket tool via Sketchup.send_action(“selectPaintTool:”) to allow someone to paint with this material.
The problem is that it seems to be popping open the side panel of sketchup when using that selectPaintTool: command.
Is this behavior that is inherent in SketchUp? Or is there an elegant way to override this behavior?
SketchUp 2020, Windows 10.