Ruby Newbie
Hello everyone,
I am brand new to Ruby Scripting in SketchUp and Ruby scripting in general, but I managed to throw together a script after an hour or so of searching through the mysterious Sketchup Ruby Scripting API documentation. Anyways, all the things I really want the API to do don't seem to be possible.
If anyone out there knows how to grab an array of all the vertices in a model or object or component, please let me know. The API should ideally let you do something like facelist = model.faces, edgelist = model.edges, and vertexlist = model.vertices.
If there is a good reason why it can't do this, someone please let me know. It's frustrating.
Dave
- dvmorris's blog
- Login or register to post comments