Hi Everyone,
I'm Bill from the UK and new to Sketchup.
I'm currently a programmer for a truss rafter design program and started creating Ruby scripts from a .NET application that will create the truss geometry.It creates all the beams, nail plates etc that represent the truss in the model.
Currently the truss is added as a component definition containing beam and plate groups. So we have a separate group for each beam and plate in the truss. Typically there can be up to 20 unique beams and plates per truss component definition. With many trusses it will result in many groups perhaps hundreds.
The truss definitions may well be repeated as component instances in many locations throughout the model. With all these groups it has a dramatic effect on the execution on the script.
To increase the speed I have changed the script so that I don't create separate groups for all the beams and plates. This speeds up the import greatly and the result is the same visually but I now don't have the beams and plates as groups for BOM and solid information. Once loaded into SU the speed is fine.
As I am new to both SU and Ruby scripting is there anyway I can increase the speed of the script execution or is it just that I have so many groups defined. Any help greatly appreciated
Thanks very much.
Bill