Merging multiple items

if the DC options dialog is open, then true!
So fix is to close this dialog unless needed

Thanks PC, but that’s not a fix. It’s a work around. Working without the Component Options/Attributes dialog open severely impacts my workflow. I can’t be expected to close and reopen them every time I need to move things. Trimble need’s to change this.

Flextools creates DC’s, @Yoni might know a way.
Why are they being moved?
(I ask because when working from a CAD file, it would suggest it’s design is static)

From memory, this only happens when 50+ DC’s are selected, the Flextools extension might create multiple nested DC’s perhaps.

Moving in the z plane to match floor height.The DCs are all mine and they do contain nested components. Regardless, the merge warning should not pop up unless you are merging something (how do you “merge” something in Sketchup anyway?).

As @pcmoor stated, it expects to change the data in the Options dialog for multiple Components. This will probably ruin some of them and tries to DCify the ones that aren’t yet a DC.
The merge is about the (meta) data.

I see. Still, this shouldn’t happen until after you try to change an attribute value or component option. No data is being merged on a simple move. It’s not acceptable, to me anyway, that you have to close and reopen the Component Options or Attributes dialogs every time you need to move a bunch of objects in the model. It’s bad enough that the Sketchup window loses focus if you leave them open. I wish they would give up on the “Live Components” and do an overhaul/major update to Dynamic Components.

@MikeWayzovski is right! I had no idea till now when it would come up. Having the component options window open and selecting 50+ components (they don’t have to be DCs) and the message comes up, referring to (the possible) merging of the data in the options window. Unfortunately I don’t know how to get rid of it other than following @pcmoor 's advice which is to close the component options window before moving lots of component.

When it happens to me, usually hitting cancel lets me keep working on the model without it hanging. I then close the options window, do the big move and that’s it.

When I work on a model, it’s not so often that I need to move so many components at once, probably because they are all sorted into other components that contain them.

My only advice would be to group components into other components and assign a keyboard shortcut to open and close the options dialog faster. Sorry I don’t have anything better at this time.

1 Like

Thanks Yoni. I don’t believe it’s your problem to solve. It’s Sketchup’s. I’m thinking since it’s DC related they will never address it. Too bad. Just have to work around this bug.

I found where it’s triggering in the dynamic components code. You can change the limit from 50 to a very large number and see what happens…:grinning:
It might still jamb sketchup for you but at least without the warning message…

At your own risk!

  1. Go to: C:\%APPDATA%\SketchUp\SketchUp 2023\SketchUp\Plugins\su_dynamiccomponents\js

  2. Open configurator.js with a text editor.

  3. Search for 50 which should take you to line 58 that reads: cfg.CONFIRM_SIZE = 50;

  4. Change it to whatever large number you want.

  5. Save.

  6. Close and Open the Component Options window to see the change.

Note that the next time you update sketchup this file will revert to the original.

(reposted my reply to fix a mistake)

4 Likes

Thanks Yoni. Definitely worth a try!

1 Like

Changed it to 5000. Not seeing the warning anymore! Thanks Again Yoni!

Myself have changed it to 54, which should suffice for me…

I might have gone overboard, but it really annoys me. :stuck_out_tongue_winking_eye:

2 Likes

yeah it’s a bonehead feature, especially to not have a “disable” option in the dialog. The reason that merging multiple items might be slow is because of the stupid dialog!

1 Like

Sweet! Amazing and thank you.