How to be sure that the UI is updated?
-
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 -
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
-
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
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