#sketchup. Random Replacement of Components by Sdmitch

Random Replacement of Components by Sdmitch: "
Random Replacement of Components by Sdmitch :craqueur:

"This plug uses two sets of components, a source set and a target set. Sets are identified by giving all the members of the set the same component name. Components also have a definition name which is what is entered when the component is created. The component name is displayed and can be assigned in the Entity Info panel. The appearence of a component is determined by the definition assigned to it by the definition name. If a sub-set of target components are pre-selected, then only those will be randomly changed."



A little tut ;)

No limite of number of any components source or target! :cheers:

You can name all your source components by hand but it's painfull when you have numerous!

So a little trick ;)

Just select Components source and copy this in the ruby console

Sketchup.active_model.selection.each{|c| c.name='Source'}

Your source components are now named "Source"

You can make the same for Target Component ;)

Just select Components source and copy this in the ruby console

Sketchup.active_model.selection.each{|c| c.name='Target'}

Redundant with the use of the Info box dialog :D





It's perfect for make some cinetic sculptures!

Or fill space with no periodic volumes :D

You press the button and you have anothe sculpture in a second :clap:









Attached Images









"

* please visit original post site*

Comments