sketchucation logo sketchucation
    • Login
    1. Home
    2. YamaArashi
    โ„น๏ธ 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

    YamaArashi

    @YamaArashi

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

    YamaArashi Unfollow Follow
    registered-users

    Latest posts made by YamaArashi

    • 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