# What to do when "Replace selected" isn't it

**URL:** <https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807>\
**Category:** SketchUp\
**Tags:** components\
**Created:** [February 18, 2020, 11:03pm UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807 "2020-02-18T23:03:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![david-sketchupped](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@david-sketchupped](https://forums.sketchup.com/u/david-sketchupped)\
**Post date:** [February 18, 2020, 11:03pm UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/1 "2020-02-18T23:03:06Z")

</div>

This is not a “bug report”, nor a “known issue”, seems it fits best here under “Technical problems”:

Most(?) of you know, when you made a geography a COMPONENT and later want to replace the entire geography (instead of changing parts of it), you simply right-click “Replace selected” when you hover over the to-be new component in the default tray component browser.

What do the gurus of you do however when:

- you have designed say a complex/multi-tier WALL segment (has 8 different “material” tiers)
- to replace the existing (quick draft) single-tier wall
- notably the existing wall starts and ends in countless places around the house, at different lengths, different angles, possibly even some of them already having a “test” material applied
- and say your new wall sample segment is 1000x500x181mm (LxWxThickness), as an example.

How would you go about replacing such (widely different) wall throughout the house with the new sample segment wall to end up all around the model?

- lengths of wall segments auto-adjusted
- angles/corner walls adjusted
- all “simply” replaced with the geography from your new sample segment of a WALL

Dynamic components isn’t it, I see. But is it doable somehow? Is there any other “concept” I fail to see? Or is this some “you are out of your mind to expect Sketchup to be able to do that!” thing?

Maybe I don’t see the wood for the trees (often) ?

---

<div class="post-metadata">

**Author:** ![DanRathbun](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/danrathbun/32/500_2.png) [@DanRathbun](https://forums.sketchup.com/u/DanRathbun)\
**Post date:** [February 18, 2020, 11:40pm UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/2 "2020-02-18T23:40:35Z")

</div>

Show some images of what your speaking of.

(My first advice is if it’s become too complex, simplify things.)

---

<div class="post-metadata">

**Author:** ![pcmoor](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/pcmoor/32/3427_2.png) [@pcmoor](https://forums.sketchup.com/u/pcmoor)\
**Post date:** [February 19, 2020, 10:44am UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/3 "2020-02-19T10:44:26Z")

</div>

> [@david-sketchupped](#):
>
> Dynamic components isn’t it, I see. But is it doable somehow? Is there any other “concept” I fail to see? Or is this some “you are out of your mind to expect Sketchup to be able to do that!” thing?

DCs can be made to swap with each other and retain size and custom attributes by using the current formula. This works well for individual objects like beams.

Ruby scripting is required for more complex objects, so check out extensions like “profile builder” ,. “Medeek wall”… “PlusSpec”

---

<div class="post-metadata">

**Author:** ![david-sketchupped](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@david-sketchupped](https://forums.sketchup.com/u/david-sketchupped)\
**Post date:** [February 22, 2020, 10:30am UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/4 "2020-02-22T10:30:47Z")

</div>

> [@pcmoor](#):
>
> DCs can be made to swap with each other and retain size and custom attributes

Thank you pcmoor. Yes they can, though that doesn’t help with this I believe (I could be wrong though).  
I will post detail what I mean in Dan’s reply.

---

<div class="post-metadata">

**Author:** ![david-sketchupped](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@david-sketchupped](https://forums.sketchup.com/u/david-sketchupped)\
**Post date:** [February 22, 2020, 10:41am UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/5 "2020-02-22T10:41:18Z")

</div>

Dan, the man! 🙂

(I was at work, hence late, sorry)

“Show some images of what your speaking of.” is tough, I can’t think of an image to “show it”. How about I attach a simple model here that exemplifies the point?

Because your tip “My first advice is if it’s become too complex, simplify things” is spot on: likely you would do this MUCH simpler, if you can please just give one keyword-style hint HOW?  
No need for long explanation, the trees will become visible when my eyes are taken off the wood, so to speak…

[Replacing-different-instances-with-imported-component.skp](https://forums.sketchup.com/uploads/short-url/3MjaEYXY0tvSKphMIDYehKVsstM.skp) (1.0 MB)

Quick draft of part of a simple floorplan that prospects get, not customers, making clear what layout they might mean, bla bla.  
To make the _overall_ workflow for/with them more efficient though, I thought to pull more of what we do later (when customer) into what we do at the start: aka why not already have the walls like they actually will be later?  
(they’ll first get 2D still, but my “sample wall segment” is already 3D, not important)

So basically: How to replace all “wall” with the imported correct wall?  
(that outer and inner walls will be different, again is not relevant here)

---

<div class="post-metadata">

**Author:** ![DanRathbun](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/danrathbun/32/500_2.png) [@DanRathbun](https://forums.sketchup.com/u/DanRathbun)\
**Post date:** [February 22, 2020, 5:18pm UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/6 "2020-02-22T17:18:10Z")

</div>

> [@david-sketchupped](#):
>
> So basically: How to replace all “wall” with the imported correct wall?

In the “In Model” Components collection (in the Components inspector panel,) right-click the “Wall” definition, and choose the “ **Reload…** ” menu item.

A file open panel appears and you can navigate to a different `.skp` component file, perhaps in a customer specific folder.

![image](https://global.discourse-cdn.com/sketchup/original/3X/d/d/dd6b9d8ae8484c1bdbb320a9871b8c175fd8a62a.png)

> [@david-sketchupped](#):
>
> How would you go about replacing such (widely different) wall throughout the house with the new sample segment wall to end up all around the model?

**I wouldn’t**. Plain and simply when things are so radically specific to a single job, I’d just model the job in place.

**Or** , … I’d use the standard model as a template, making a copy of it, and editing it for specific customers.

In other words, I am not inclined to **waste time** trying to automate workflows that do not fit well into automation.

---

<div class="post-metadata">

**Author:** ![pcmoor](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/pcmoor/32/3427_2.png) [@pcmoor](https://forums.sketchup.com/u/pcmoor)\
**Post date:** [February 23, 2020, 4:33am UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/7 "2020-02-23T04:33:01Z")

</div>

It depends on the information you want and to calculate. For simple multi-layer walls, moldings, gutters or any profiles then “Profile Builder” is your best option. Basically you trace the path, then swap with any different profile. Plus you can use its companion “Quantifier” to estimate the job.  
If you want greater detail then the other may fit your needs. If like myself, you want specific data to complete an estimate then DCs and your own ruby scripts would be the option, but you would need a clientele of 5 or more jobs a week to justify the expenditure where the workflow would be the same, like creating 3D framing plans and material lists from AutoCad 2D plans.

---

<div class="post-metadata">

**Author:** ![david-sketchupped](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@david-sketchupped](https://forums.sketchup.com/u/david-sketchupped)\
**Post date:** [March 1, 2020, 8:50pm UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/8 "2020-03-01T20:50:29Z")

</div>

> [@DanRathbun](#):
>
> **I wouldn’t**. Plain and simply when things are so radically specific to a single job, I’d just model the job in place.

Wasn’t ignoring you, only just got back from project.  
Thank you Dan. Well, it isn’t radically specific to a single job, then I wouldn’t bother, you know. It rather is sth (I think) MOST users would love to know and do in many models they create: replace all instances of a geometry with another. Sounds like standard to me.

" In the “In Model” Components collection (in the Components inspector panel,) right-click the “Wall” definition, and choose the “ **Reload…** ” menu item."  
Yes This goes partly along with that: After posting here, I remember I discovered a video that seemed to solve this common desire with ease. Just quickly searched again for this precinct video title I remembered, and this it is: [https://www.youtube.com/watch?v=RULlGTOt9lw](https://www.youtube.com/watch?v=RULlGTOt9lw)  
“Select and replace all your troubles away”

Now, I haven’t yet tried that on my models (only just got back, then dinner) BUT doesn’t that look like it does what it says on the tin? I think so. While watching it again I just quickly replaced the “bed” in the above posted sample model with the “sink” as a test:

 ![select-and-replace-all-your-troubles-away](https://global.discourse-cdn.com/sketchup/original/3X/4/d/4d0a1915d59edc962107f60304415ba095d67bd6.jpeg)

If the origin of any component is where its axes meet (as seen in Model Info, Components, See Axes) - which I believe it does - then it looks like the SU functionality replaces exactly at the origin (hard to see in the image, but believe me), like it should. Excellent.

So, to my mind, this means: Anyone who needs to replace a geography in SU (call it “wall” here), just needs to consider that if the replacement is not the same dimensions (s)he will have to make adjustments thereafter: it’s a component. While adjacent geometry of course can add another challenge then, yes. I gonna try it all out after sleep.

---

<div class="post-metadata">

**Author:** ![david-sketchupped](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@david-sketchupped](https://forums.sketchup.com/u/david-sketchupped)\
**Post date:** [March 1, 2020, 8:54pm UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/9 "2020-03-01T20:54:18Z")

</div>

Thank you.  
Well that sounds like sth else to me. While I do have Profile builder it doesn’t seem to help with the above issue at hand (I think). Could be wrong though. I really need to have more time to try all functionality, I am not even through with all of SU and my 100 extensions… 🙂

---

<div class="post-metadata">

**Author:** ![david-sketchupped](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@david-sketchupped](https://forums.sketchup.com/u/david-sketchupped)\
**Post date:** [March 5, 2020, 1:34am UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/10 "2020-03-05T01:34:46Z")

</div>

Unfortunately I have to get back to this as well: Tonight I had the time to APPLY the above to my model, after re-watching the video to make sure I do it right.

And no, while the video is awesome and suggests it will always work, it does not:

- I tried endlessly but many many times the critical options all stay GREY (gray?)
- in the Tray - Components, you know there are three options when right-clicking:  
\*\* “reset insert point” (couldn’t figure out yet what it means/does, but not what I want/need, lol)  
\*\* “select instances” (is clear, but as I said, stays grey most times)  
\*\* and “replace selected” (the magical one, yes; stays grey too)

It’s such a shame. Would have been awesome if it actually was as easy as the video suggests it is. But in my model “replace selected” ONLY lighted up on geometry that I is meant to-be-replaced (the opposite).

Has anyone a clue why for the video-maker it works so well, but in reality many/most times all three just stay grey?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sketchup/original/3X/f/2/f2a121500b085ed60806607a82720b092d800bb3.png) [@system](https://forums.sketchup.com/u/system)\
**Post date:** [September 4, 2020, 9:34am UTC](https://forums.sketchup.com/t/what-to-do-when-replace-selected-isnt-it/116807/11 "2020-09-04T09:34:47Z")

</div>

Closed on September 4, 2020, 9:34am UTC

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.
