sketchucation logo sketchucation
    • Login
    1. Home
    2. Dragon3dgraff
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    Dragon3dgraff

    @Dragon3dgraff

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Dragon3dgraff Unfollow Follow
    registered-users

    Latest posts made by Dragon3dgraff

    • 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