Globally select all groups in model?
-
cheers thomthom, i confused it with http://sketchucation.com/forums/viewtopic.php?t=29462
worked perfectly, my only concern is that I undid it, to check the stats via model info & it bugsplatted. So I have saved a new copy to be safe.
I put enough in your cookie jar for two beers in the uk, so you can atleast afford one in Norway.. damm expensive
-
BugSplat? o_O Can you reproduce it? Got a test model?
-
http://sketchucation.com/forums/download/file.php?id=106847
run your sript > edit - undo = splat
-
Huh! I see the crash too. This is not good.
-
any thing to worry about with regards to how it will affect my model?
-
Any crash is potential for data loss if you haven't saved...
hm... when I use Selection Toys' Group Copies to Component on a single set it can be undone with no bugsplat. I wonder why this is different...
-
I see. Another problem is that, it does not seem to be reducing my file size much at all. If you run your script on the same file http://sketchucation.com/forums/download/file.php?id=106847 you will see size stays the same.
-
Well, yes - because you're not reducing the number of component definitions. Groups in SketchUp are like ComponentInstances - they have ComponentDefinitions. When you see a Group that has copies in Entity Info it means they all share the same definition.
The only difference is that SketchUp makes groups unique when you modify them.
-
yes that makes logical sense. Someone once told me that comps' only take up the size of the definition & all instances don't add to count towards memory, where as group instances do.
cheers
-
Well, that is true under the assumption that all group instances are unique. But SketchUp makes some internal optimizations and make copies share the same definition until you edit one of them. Or to be more specific, you don't even need to make changes, just open the group and close it. Then you'll have a new definition - which takes up more space.
-
Ah yes that's what i thought it should do, but I told myself otherwise by mishearing something. I Learn't from youtube, I guess once you grasp ruby, you'd have a more in-depth insight into SU.
-
It does give some more insight to some of the technical aspects of SketchUp - why things behave the way they do.
Advertisement