Writing SketchUp Ruby - Remove Edges From The Selection Set
-
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]
-
You, Sir, are a master! Keep on.
Advertisement