Fresh active_view when click on menu item
-
Hi All,
any one knows how to refresh the active_view immediately when one click on a menu button while the mouse does not entering the view window.
What I try to do is to change the font size of view.draw_text by click on the menu buttons.
Currently I can only see the effects after I move the mouse entering the view area. It is not a big issue. But it would be great that I can update the view immediately once I click on the menu button.Thanks
I have tried:
Sketchup.active_model.active_view.refresh
It doesn't work.
-
Try adding:
Sketchup.active_model.active_view.invalidate
???
Advertisement