• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Fresh active_view when click on menu item

Scheduled Pinned Locked Moved Developers' Forum
2 Posts 2 Posters 498 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    icehuli
    last edited by 13 Jan 2017, 14:14

    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.

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 13 Jan 2017, 18:55

      Try adding:

      Sketchup.active_model.active_view.invalidate
      
      

      ???

      TIG

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement