sketchucation logo sketchucation
    • Login
    1. Home
    2. Dragon3dgraff
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Iterators in Sketchup Ruby

      Hi, TIG!
      Thank you very much for your detailed answer, it is very usefull for me because I'm just a beginner in Ruby.
      I'm sorry for bad pics. I post new

      But... about this problem. I just copy code from this book
      Automatic SketchUp Creating 3-D Models in Ruby by Matthew Scarpino 2010
      It uses SketchUp 7.1 application programming interface (API)

      for count1 in 0..5 print count1, " " end

      This code doesn't work in Sketchup 6, Sketchup 8, Sketchup 8 PRO. But it works in Sketchup 2015PRO...


      code.JPG


      Mistake.JPG


      book1.JPG


      sketchupversion.JPG

      posted in Developers' Forum
      D
      Dragon3dgraff
    • Iterators in Sketchup Ruby

      Hello!
      I'm new here, I'm new in Sketchup, I'm new in Ruby... But I'm not new in programming.
      So, I have one maybe too stupid question.
      I'm trying to use iterators like 'for in', until and .each. But they don't work! I think this is simpliest things in any programming language... and they work in all languages I use...
      What's wrong with my Sketchup Ruby?
      I use Sketchup 8 free version


      IMG_20171220_154656_131.jpg


      IMG_20171220_093245_678.jpg

      posted in Developers' Forum
      D
      Dragon3dgraff
    • 1 / 1