Model.select_tool "PaintTool"
-
I am wondering whether there is a method to invoke native PaintTool without bringing in the Paint Bucket window?
I have already tested those:Sketchup.send_action(21074) Sketchup.send_action(CMD_PAINT) Sketchup.send_action('selectPaintTool;') -
UI.show_inspector("Materials")If you substitute any 'name' it will open that browser's dialog... but it leaves the current tool unchanged.
-
@tig said:
UI.show_inspector("Materials")If you substitute any 'name' it will open that browser's dialog... but it leaves the current tool unchanged.
He want's to do the exact opposite.
As far as I can tell there is no way to do that. I'd recommend you file a feature request. -
There is a feature request to have show / hide / visible? control over the inspector dialog boxes. It should cover it... when it comes...
Fredo
-
Looks like a custom paint tool using the same cursor is in order...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement