6 messages in com.googlegroups.sketchuprubyCreate Components from Ruby Script
FromSent OnAttachments
ktkoh06 May 2007 15:54 
TIG11 May 2007 12:25 
Jim11 May 2007 21:21 
ktkoh13 May 2007 04:39 
ktkoh13 May 2007 05:27 
Jim13 May 2007 07:06 
Subject:Create Components from Ruby Script
From:ktkoh (kbkr@charter.net)
Date:05/06/2007 03:54:12 PM
List:com.googlegroups.sketchupruby

For woodworking I start most parts with the Box.rb script which ends by creating a group. I want these parts to be components so the first thing after running Box I select and make it a component. For some reason this step does not let me name the component at that time and requires a second step. I looked in the ruby help files but did not find example of creating a component. I would like to modify the box script to finish by creating a component and naming it the same as the active layer. This would save steps and insure that I don't forget to do the necessary steps.

Keith