Help in SketchUp UI research
-
I need to write a small script for an research experiment we're doing using SketchUp
http://www.anirudh.me/projects/mm-cad
- A small bar on the top right corner of Sketchup that shows a notification when an event has occurced . Example, ON SWITCHING tool TO CIRCLE, "it must show a text "CIRCLE SELECTED" there.
On swithing to push/pull( "PUSH PULL ACTIVATED")
(Those who've used Growl Notifications http://osxdaily.com/wp-content/uploads/2010/05/disable-growl-notifications-in-cyberduck-300x157.jpg will understand what i mean)
Please let me know how to go about it.
Thanks
- A small bar on the top right corner of Sketchup that shows a notification when an event has occurced . Example, ON SWITCHING tool TO CIRCLE, "it must show a text "CIRCLE SELECTED" there.
-
Is it only viewing the latest selected Tool? I can think of 2 ways... but all start with creating a ToolsObserver.
-
Simple on-screen text. Fairly easy, but limited to only plain text.
[a] http://code.google.com/apis/sketchup/docs/ourdoc/model.html#add_note
[b] http://code.google.com/apis/sketchup/docs/ourdoc/text.html -
WebDialog - could show more detailed info including images, but slightly harder to implement.
[a] http://code.google.com/apis/sketchup/docs/ourdoc/webdialog.html
-
-
Thanks Jim,
Web dialogues worked great! Thank you!
Advertisement