sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Where to start?

    Scheduled Pinned Locked Moved Developers' Forum
    44 Posts 4 Posters 772 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      @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/classes

      List of methods:
      https://developers.google.com/sketchup/docs/methods

      Object Diagram:
      https://developers.google.com/sketchup/docs/diagram

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        @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 for UI.inputbox defined in sketchup.rb which comes with SketchUp. (I use UI.inputbox simply because of potential problems of relying on the methods in the global namespace.)

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • R Offline
          rumcajs
          last edited by

          Hm. I see. Sketchup.rb is short, so it will not be problem to remember it. And where is definited UI?

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            @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

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 3
            • 3 / 3
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement