Command's tooltip and status bar text are not displaying

Thanks for that, too, @slbaumgartner!
At any rate, the proc does not seem to update the toolbar item with the MF value. It does update if I call UI.refresh_toolbars manually.

(I mean, without the refresh call in the proc, of course.)

1 Like

Can you confirm that it works or it does not work.
There is nothing signaled in the Ruby API doc.

I opened an issue for this in the API issue tracker, here:

@Fredo6, the procs do seem to work when commands are added to the main toolbar (though this requires a UI refresh), but not from palettes (i.e., a plugin toolbar).

1 Like

So, basically, you are saying that it’s not working!!

  • UI.refresh() is of course not a workaround for something that should happen automatically
  • most plugins will have their own separated toolbar on Mac
    I use Command validation proc essentially to reflect the state of a command, that is grayed out or highlighted. But still, this should work on all platforms.

…and anyway, the deficiencies on Mac should be indicated in the API documentation.

What ever happened to the \n in the dimension tool?
It seems to be not working, anymore

Duh @Wo3Dan

According to following it looks like you are blaming me. :open_mouth:

I thought you were the one one that brought it up in DUH book!

It is only possible to have your own text displayed in the dimensions, no longer the second line…

:smiley:

I mentioned it, yes. Learned about it from Jim Foltz years before, if I remember correctly.

What about keeping the dimension associated by using <>? is that broken too?

I logged an issue to update the documentation with notes about the known issues on Mac: Update Ruby API docs about issues with validation procs on Mac · Issue #213 · SketchUp/api-issue-tracker · GitHub

2 Likes