Writing SketchUp Ruby - Remove Edges From The Selection Set

Share or learn with the Pros

Writing SketchUp Ruby - Remove Edges From The Selection Set

Postby Chris Fullmer » Tue Jan 12, 2010 10:47 pm

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 :)

0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: Writing SketchUp Ruby - Remove Edges From The Selection Set

Postby mitcorb » Tue Jan 12, 2010 11:47 pm

You, Sir, are a master! Keep on.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests

Visit our sponsors: