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.inputbox
is an alias forUI.inputbox
defined insketchup.rb
which comes with SketchUp. (I useUI.inputbox
simply 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
Advertisement