Where to start?
-
@rumcajs said:
Is here some similar page which gives such kind of information / organized in different way? Or is this the only source?
Each class list all its methods.
List of classes:
https://developers.google.com/sketchup/docs/classesList of methods:
https://developers.google.com/sketchup/docs/methodsObject Diagram:
https://developers.google.com/sketchup/docs/diagram -
@rumcajs said:
What does mean $ is it global variable? I thought it is array, but now I see they use it in different way.
This:
results = inputbox prompts, values, $exStrings.GetString("Cost Estimate")What is inputbox, does not look like method of global scope
$is global variables, yes. Avoid them.inputboxis an alias forUI.inputboxdefined insketchup.rbwhich comes with SketchUp. (I useUI.inputboxsimply because of potential problems of relying on the methods in the global namespace.) -
Hm. I see. Sketchup.rb is short, so it will not be problem to remember it. And where is definited UI?
-
@rumcajs said:
And where is definited UI?
That's from the API - defined in C++.
Look to the documentation: https://developers.google.com/sketchup/docs/ourdoc/ui
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