Maybe a stupid question...
-
Hi all,
Call me stupid but I don't know if there's a script to quickly substitute a bunch of component instances of name A with another of name B in one click, maintaining all parameters (layer, scaling,rotation,etc).
I've searched the forum and my own site (!) and didn't find anything similar.
If it doesn't exist i'll do it myself but I don't want to reinvent the wheel if it does.
So pleeeaaaaase tell me where ! -
i only see this - http://www.smustard.com/script/ApplyTo
Thanks to Rick for it...maybe add array -
you dont need a ruby for that. SketchUp can do it by its own.
just select the components you want to substitute (or right click this component in the component window and choose "select instances").
then right click the new component in the component window and choose "replace selected" - all selected instances are replaced by the new one...
is that, what you intended to do?
-
Oh my god, this was so simple...
@unknownuser said:
is that, what you intended to do?
Exactly !
Su has some hidden treasures that one is not aware of when never needed before...
Thank plotparis -
Yeah, no need for a ruby. Good old SU has it!
-
so i go to help-room, need to read
Thanks for tip... -
well, there has to be a reason after all, why we all worship this little program.
-
i was wrong about "applyTo"(multiple ex/change)...it works, "applyTo" + Emmanuel's "select component instances"... need simple [web]dialog to get it features as api
Advertisement