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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement