[Plugin] inputbox.rb Simplified Script Options
-
I added a few methods to access the values, and added persistent storage using Sketchup.write_default and .read_default.
Here's an example usage:
-
Thats great Jim! Thanks for working on this one.
Chris
-
Because the file is not within a ZIP, when we d/l from the web, all the file dates are the download date.
Since you didn't put a Revision or Release within the file, it will be hard to tell what rev a user has.
I put "
# Release: 2009-05-15
" below the (c) line, since that's what you had on your d/l blog page.I assume this is Rev: 2 ??
-
Are there still plugins that require this one? Should it be vanquished from existence? Should it be updated and made available in the SketchUcation Store?
-
I love the basic concept of this!
However it likely should be folded into some mixin module that coders would
include()
within their modules or classes.They could also subclass it. For example I myself am not keen on the registry key prefix of "Inputbox_".
A subclass could change that, or better tell the subclass what key to save under, and what prefix for each value. etc.Ie, usually only Ruby base classes should be defined at the toplevel. So it should be in a module namespace.
And the "download" link no longer works.
-
I like it too, and Inputbox does make adding basic options to a plugin easier. However, if I were to write it today I would base it on TT's SKUI webdialogs and offer a wider choice of input widgets.
With the Plugins Store giving us the ability to quickly and easily offer updates, these kinds of library extensions have a better chance of being used.
-
@jim said:
Are there still plugins that require this one? Should it be vanquished from existence? Should it be updated and made available in the SketchUcation Store?
Push Pull Group used this one and I can't find any copies of your inputbox.rb. Looks like it vanished from existence? Anyway to bring it back in to reality?
-
Jim
Where can I find a copy of inputbox.rb to download to use with 'multiple dimensions tool' plugin?
Many thanks
Hugh -
Jim withdrew the majority of his plugins. It may not be available any longer.
Advertisement