sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Writing SketchUp Ruby - Remove Edges From The Selection Set

    Scheduled Pinned Locked Moved SketchUp Tutorials
    sketchup
    2 Posts 2 Posters 2.5k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      Yet another 5 minute video tutorial on writing a small ruby code snippet. This is from an example of something I wrote at work really quick. Yes, I do realize there are a zillion other ways to accomplish what I did in the script, including some quick built in methods. But in the end, this was the simplest for the specific project I was working.

      All this does is removes all selected edges from the selection. Leaving faces selected (well, leaving faces and groups, components, images, etc. but since my model had none of those, I was not worried about them).

      Anyhow, the purpose of this is to show how quick it can be to write simple snippets that do useful things. I do it on a daily basis now that I know how 😄

      [flash=1280,720:14lv2r3o]http://www.youtube.com/v/lPGIqpWsSSQ&hd=1&fs=1[/flash:14lv2r3o]

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • mitcorbM Offline
        mitcorb
        last edited by

        You, Sir, are a master! Keep on.

        I take the slow, deliberate approach in my aimless wandering.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement