sketchucation logo sketchucation
    • Login
    1. Home
    2. YamaArashi
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    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