sketchucation logo sketchucation
    • Login
    1. Home
    2. YamaArashi
    3. Posts
    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!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    Y
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • Selection start/end detection

      Hello Ruby noob alert πŸ˜„

      I manually draw a line with the pencil tool and select it. If I then have a script with the code below the variable selection contains my line,I know because the clear deselects my line on the screen. My question is how do i get the start and end points of the selected line? I have been reading the google api site, but tbh the code examples are very fragmentry and putting stuff together is hard.

      
      model = Sketchup.active_model
      selection = model.selection
      selection.clear
      
      
      posted in Developers' Forum
      Y
      YamaArashi
    • 1 / 1