Duplicate Components Renaming Themselves

General discussion related to SketchUp Pro and Make

Duplicate Components Renaming Themselves

Postby Fletch » Mon Oct 05, 2009 9:55 pm

I am using SU7.1 now on Win XP Pro. Laptop
Am I the only one with this problem?

It's happened to me twice now. But it's a VERY serious problem.

  1. I make a component,
  2. name it "MyCompHalf" (half of a window, half of a dormer),
  3. mirror it (Ctrl+M).. not really sure which mirror ruby it's using, will have to check that.)
  4. Group the 2 halves into a "whole"
  5. Select Grouped "whole" and context-click "make component" (just hit my shortcut key for this actually, but whatever)
  6. Now I have a randomly named component that is called something like "Group#1)
  7. Not having paid attention to what SketchUp has named this component, I am just in the groove of modeling, I'll just name it later.
  8. I select my shiny new window and choose the move tool, I click the CTRL button once to get my + sign.
  9. I move the copy of my component over 8', and voila. I have a copy of my component... or at least I THINK I do. (It's worked for the past several years I've built with SketchUp why should it be any diff. today?)
  10. So I do the same thing many times and copy my window or dormer around my model.

    Let's say it's a window, and I'm on a building with a lot of these windows.
    I'm working along.... hour or two later... notice something wrong with the original half of the window.
  11. I open the component and drill down to the original "half" of a window, and add the handle, or whatever.
  12. I exit the half of a window component and back out to see my model.
  13. None of the others have updated. :shock:
  14. Not only that, it appears that EVERY INSTANCE of "MyCompHalf" has been automatically renamed by SketchUp to be something like "MyCompHalf#1, #2.... #67...#845" throughout the model.
  15. But that's not ALL! It has also renamed each of the "whole" components from Group#1, to Group#2, #3...#16...#24) etc.
  16. It is at this moment that I fight back panic and rage all at the same moment.

So, now, once-bitten, twice-shy. I have to double check EVERY TIME I copy a component... as I find SketchUp unpredictably renames them all to be UNIQUE DUPLICATES of the original component. And my file is bloating by the second.

So, am I the only one with this problem? Is is something to do with the mirror command? Is SketchUp handling components different in Version 7 compared to 6? I've only experienced this happening since an update to SU I think in July or Aug.

I'm attaching a screenshot of the "Edit>Item>Mirror Selection" that I'm shortcutting to... not sure which ruby it is, cause I have 2 mirror rubies.

My guess is that it's something to do with the way one of them is handling the mirror command with components and it's trickling down into the entire model as I copy that bad egg.
0

Fletch 
Twilight Render
 

Re: Duplicate Components Renaming Themselves

Postby mac1 » Tue Oct 06, 2009 7:01 am

Taking at guess at this. Remember component definitions are invariant under move,scale,rotate but not sure if your are using some type of mirror plugin causes problems. Try simple test and use the scale tool at -1 scale and see what happens. Maybe it will give you an idea.
0

mac1 
Top SketchUcator
 

Re: Duplicate Components Renaming Themselves

Postby Gaieus » Tue Oct 06, 2009 9:23 am

Fletch, I have never had this happen to me. Did you, by any chance, not use a dynamic component however?
0
User avatar
Gaieus 
 

Re: Duplicate Components Renaming Themselves

Postby Fletch » Tue Oct 06, 2009 1:46 pm

@mac1 -
I use scale at -1 depending on the situation... usually if the object is not on the standard axis, but when you highlight the object and the box is orienting to itself correctly... that method works fine... I think. :?

Gaieus,
I did not use a dynamic component... built it completely from scratch, just a window. well, a fancy window with lots of tinier components even a "rivet" on the wrought iron metal hinges, etc. Even every Rivet component was renamed to #x after the name... so I literally had hundreds and hundreds of tiny consecutively numbered rivet components.

Ps -
I've tried to repeat the freaky behavior by repeating my steps above, and it doesn't do it... just works fine. :| I have no idea why. :lol:
0

Fletch 
Twilight Render
 

Re: Duplicate Components Renaming Themselves

Postby thomthom » Sat Oct 24, 2009 12:12 am

Got a sample model?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Duplicate Components Renaming Themselves

Postby Anssi » Sun Oct 25, 2009 4:30 pm

Fletch,

It must be that the mirror routine you are using is the culprit. I tried the steps you mentioned, but I used the SU standard "flip along" function to mirror, and do not get extra components.

Anssi
0
securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset
User avatar
Anssi 
 

Re: Duplicate Components Renaming Themselves

Postby thomthom » Sun Oct 25, 2009 4:31 pm

which Mirror plugin do you use?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Duplicate Components Renaming Themselves

Postby Fletch » Wed Oct 28, 2009 2:16 pm

sorry Thom, missed your post there...
I will PM you for file transfer...
0

Fletch 
Twilight Render
 

Re: Duplicate Components Renaming Themselves

Postby TIG » Wed Oct 28, 2009 4:03 pm

I've checked out my Mirror v3.1 and that doesn't do what you report - it keeps all of the sub-component and group names the same. Try that as you Mirror Tool.

Warning: like all scripts that write/copy groups/components it can cause a Bugsplat if the Outliner Window is rolled down when you use it - it's a known bug with Outliner !
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Duplicate Components Renaming Themselves

Postby danbig » Wed Oct 28, 2009 4:10 pm

I've had a similar issue.

I do not have any mirror plugin installed.

I have also not been able to get the "bug" to repeat itsself with any consistency.

What has happened in my models, is that I'll have a group with nested components and groups in it.

I'll duplicate the top level group, and all the nested groups and components are renamed.

I've wondered if it's an issue with having to have a unique component name.
0

danbig 
 

Re: Duplicate Components Renaming Themselves

Postby thomthom » Wed Oct 28, 2009 4:18 pm

hm... Are you sure it's components and not just groups renaming?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Duplicate Components Renaming Themselves

Postby danbig » Tue Nov 03, 2009 11:04 pm

OK -

Here's a specific occurrence of groups (not components) renaming themselves.

I had six groups, each containing several hundred instances of a component. Each group had been named a numerical designator.

I selected all six groups, then placed them on a new layer. Upon reassigning a layer for all six groups, the names of all six groups were reset to "Group".

I believe something similar has happened before, when the nested components will recieve the group name "group" and maintain it's component name.

What's the difference between the two naming fields on a component? By default, the name that appears in <brackets> is generated when you name the component, but there's another name field available when browsing the component in outliner.
0

danbig 
 

Re: Duplicate Components Renaming Themselves

Postby Fletch » Fri Nov 06, 2009 4:50 pm

danbig wrote:OK -

Here's a specific occurrence of groups (not components) renaming themselves.

I had six groups, each containing several hundred instances of a component....

I selected all six groups, then placed them on a new layer. Upon reassigning a layer for all six groups, the names of all six groups were reset to "Group". ...

glad I'm not the only one... but you didn't mention - did the hundreds of components also get renamed to be unique individual components and therefore you have hundreds and hundreds of "unique yet identical" components in your file now?
0

Fletch 
Twilight Render
 

Re: Duplicate Components Renaming Themselves

Postby danbig » Tue Nov 10, 2009 10:20 pm

I don't believe so.

I've only had problems with the top level groups and components.

If the hundreds of components are becoming unique, does each one have a sequential designator? IE <Component> becomes <Component #1>, <Component #2>...<Component #n>.
0

danbig 
 

Re: Duplicate Components Renaming Themselves

Postby Fletch » Wed Nov 11, 2009 10:47 pm

exactly - I had a window with large fancy hinges and the rivets holding the hinges to the shutter... each hinge had 3 or 4 rivets, these were supposed to be identical components... but instead they somehow got sequentially numbered, yet they WERE components! Then the hinges were supposed to be identical components (3 on each shutter) - and THEY were somehow made to be sequentially numbered components! Then the Open Shutter was a component...

trying to clean up the mess took me about as much time as if I had just re-built the stinking window from scratch. :lol:

I probably had too much detail on the model anyway .... serves me right. :lol:
0

Fletch 
Twilight Render
 

Re: Duplicate Components Renaming Themselves

Postby danbig » Tue Nov 17, 2009 1:47 am

Beautiful rendering.

I hope I don't experience the same problem... I have not had components make themselves unique.
0

danbig 
 

Re: Duplicate Components Renaming Themselves

Postby Jim57 » Tue Nov 17, 2009 5:34 am

Could this issue somehow be tied to that blasted box, "Replace Original With Component"? At least the outer part of it?

Jim
0

Jim57 
 

Re: Duplicate Components Renaming Themselves

Postby Alan Fraser » Tue Nov 17, 2009 5:32 pm

I’ve never come across this problem, but I suspect that it is a result of the fairly complex internal naming conventions within SU.
I regularly have to deal with the almost opposite problem of components with the same name remodelling themselves on import….especially when dealing with different configurations of vegetation using different image maps.

Here’s a quick example:
Download both the very simple tree (summer foliage) and the map of mottled autumn foliage. Open the skp, go to the Materials browser; and choose the downloaded jpg as the material, in order to change the tree from a summer version to a fall version. Save the resulting file….under a different name, obviously. So far, so good.

Now try to import those two versions into a new file. Whichever one is imported second will come in looking identical to the first one…even though it imports the correct material….at least as far as the browser is concerned.

The solution is to not only assign a different name to the material when you are adapting the original file, but also to assign a different name to the component. Even then it won’t work…you’ll notice that the component thumbnail in the browser won’t actually change from summer to autumn until you actually open the component and edit it in some way…the easiest being to move it a set distance along an axis, then back again.

Bear in mind that this is just a simple model with a single level of grouping. Start nesting stuff and it rapidly gets far more complex. I know this is a different problem from the one in the topic, but suspect that the reasons (and solutions) are somewhat similar.
0
FormFonts
Were you required to walk 500 miles? Were you advised to walk 500 more?
You could be entitled to compensation. Call the Pro Claimers now!
User avatar
Alan Fraser 
Top SketchUcator
 

Re: Duplicate Components Renaming Themselves

Postby Trubble » Mon May 24, 2010 5:21 pm

I am seeing the same problem.
SU 7.1.6860.
Windows XP Pro on a laptop with 2GB memory.

Modelling a building for Google Earth 3D layer, I have a component that represents a vertical slice from roof to ground level. I add this component 5 times, aligning them to produce the building frontage.

When I look at components in the model I see my original plus 4 others suffixed #1 #2 #3 and #4.

See image here, http://www.screencast.com/t/NzFjNGMzO

I am not doing any scripting here. Just standard SU move tool to position the component.

This is the first time I've seen this in about three years of using SU. I have been away from SU for a few months, so the only thing I can think of is an update to SU has introduced this bug.

Can anyone shed light on the cause of this?
0

Trubble 
 

Re: Duplicate Components Renaming Themselves

Postby Trubble » Tue May 25, 2010 11:16 am

I've been investigating this further and have found that the problem can be reliably reproduced. :idea:

I have submitted this to the Google forum at http://www.google.com/support/forum/p/sketchup/thread?tid=6b0a0298daee1261&hl=en

At the above link I have posted links to SU files that can reproduce the error, as well as a YouTube video showing the bug in action.

The work-around in my case seems to be to ensure that the component is in "edit" before using Project Photo (when using match photo).

Hope this helps some others
0

Trubble 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp Pro & Make Discussions

Who is online

Users browsing this forum: servandovill, sfto1, sithutun94 and 9 guests

Visit our sponsors: