Quantcast
Channel: Extensions - SketchUp Community
Viewing all articles
Browse latest Browse all 3616

Refresh Model Info Dialog in Ruby

$
0
0

Okay, I’m new to Ruby and am toying around with adding a toolbar. So far, I’m able to create my toolbar, add the buttons I want which trigger an event when clicked. That event contains code to change the values to what I’ve selected. What I am unable to figure out is how to refresh the Model Info dialog so it displays the changes I’ve just made.

For example, I created a button to toggle the units format to decimal. It works perfectly, except that the Model Info dialog does not reflect the change unless I click out of the Model Info Units page and then click back into the Model Info Units page.

Is there a way from Ruby to refresh the Model Info Units page after a change has been made?

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>