A Question on Making a GUI
-
I have been working with ruby and SU for a bit now and have created a simple plugin for creating a 1 meter square grid of variable size along each axis. The interface for this is very simple as it just pops a dialog box requesting the desired size of the grid. What I would like to do is make a more complex GUI for handling additional variables as well as managing preexisting grids.
To do this, will I have to manage everything through he existing UI class or is there another way of doing this? I read somewhere a reference to creating custom html pages but was unsure if that was meant solely for displaying data. Can I create my own custom dialog box? If so, how?
-
You can use HTML, DTHML, Javascript, etc. in custom
UI::WebDialogclass objects. -
Thanks for the help, I think that is what I need. For those interested, here is a link to a very simple example of using Ruby and WebDialogs: http://sketchupapi.blogspot.com/2008/02/sharing-data-between-sketchup-ruby-and.html
-
Here's a topic I've written with practical info about the WebDialog class: http://forums.sketchucation.com/viewtopic.php?f=180&t=23445#p198883
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