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

    How to be sure that the UI is updated?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 178 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.
    • S Offline
      Serge.N
      last edited by

      Hello,

      I'm looking for a way to be sure that sketchup has updated the UI.

      I've seen some discussions on this topic but the solutions was to put a messagebox. But as I don't want to stay in front of my computer, that's not an option for the plugins I'm currently writting.

      Is there another solution?

      Thank you
      Serge

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Hi serge. When do you want to keep it updated? While a ruby is running? If so, there is no way to force it to stay updated always. Once Ruby gets processing, the UI is ignored, to help speed up ruby. That is my understanding anyhow

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • S Offline
          Serge.N
          last edited by

          Yes I'm looking to be sure that the UI is updated while I have a ruby script running. Actually I'm playing with the shadows and I want to save some pictures.

          I share the idea to have Ruby running faster but in a lot of time it doesn't help. For example, when the Ruby console is no more updated (yes I'm still looking for a good tool to work on my plug-ins: spy, step-running, break points, ...)

          What looks strange to me is that there's a function to say to Sketchup that it must not update the UI anymore. Is there any function to tell it to update the UI right now? A kind of "flush".

          Thanks
          Serge

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

          Advertisement