sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Unexpected behavior saving styles with scenes

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    26 Posts 5 Posters 889 Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rich O BrienR Offline
      Rich O Brien Moderator
      last edited by

      Styles are snapshots of display configs.

      So if you load in a config and then tweak it you've got a new unsaved config.

      If you update that config then it writes the changes to your model but not the styles collection.

      I think there is 2 ways to look at this from a UI/UX perspective.

      Does SU create a new styles for every tweak? Or does it clone the collections style and let's you rewrite it for your model only.

      I think the saving of model specific libraries is a good thing and a bad thing.

      Good because you can share configs/assets.

      Bad because of file bloat.

      Download the free D'oh Book for SketchUp πŸ“–

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator
        last edited by

        I think the point I'm making is that SketchUp expects each style change to be either a new style or a variant on an existing style.

        Download the free D'oh Book for SketchUp πŸ“–

        1 Reply Last reply Reply Quote 0
        • MsketcherM Offline
          Msketcher
          last edited by

          "If you update that config then it writes the changes to your model but not the styles collection."

          I agree that SketchUp should let us override any style property we want after applying a style to the model. That's the whole purpose of the refresh symbol appearing over the style thumbnail in order to tell us that the current "configuration" doesn't match the style definition we currently have selected. We've overridden it. That's great. I like that.

          But when you activate a scene that has "Style and Fog" checked, it should show you the style you assigned to the scene, and throw away any overrides we've made to the Style.

          1 Reply Last reply Reply Quote 0
          • pbacotP Offline
            pbacot
            last edited by

            It's strange that the scene does not revert to the saved style. But it's acting like that particular style is in "edit" mode. I don't see a problem (yet) if you know it's doing that. I usually have multiple scenes and styles, so this effect is quickly cleared as I flip through scenes. It's good to be aware of so you don't keep wondering what's happening.

            MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

            1 Reply Last reply Reply Quote 0
            • Rich O BrienR Offline
              Rich O Brien Moderator
              last edited by

              But then the models loaded style would need to either undo changes to default to the collection config or load in a style of the same name with different display settings.

              All styles changes need to be new styles. Hence that pop up you get when it detects changes between scenes.

              Did you check the 'don't ask me again' option for that?

              Download the free D'oh Book for SketchUp πŸ“–

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by

                I can't get it to do that on my mac...
                the scenes switch styles even if one is in update state...

                Is it only when your not in the model collection? [your in the default collection in your video]
                john

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • MsketcherM Offline
                  Msketcher
                  last edited by

                  Imagine someone creating a LayOut document of a kitchen.

                  They have all their viewports set up, elevations, plan view, assigned to scenes, which have styles saved with them.

                  Imagine at one point in the project they open SketchUp and turn on section planes so they can tweak them a little bit. If they happen to be in the same style they saved the scenes with, and save their model, they're going to have a surprise next time they open LayOut.

                  In LayOut, all of their viewports will then change to show section planes, even though they didn't update the style to have this happen. Simply because they saved SketchUp with an unsaved style override, those overrides will show up in every scene that has that style in it.

                  Doesn't make sense to me.

                  1 Reply Last reply Reply Quote 0
                  • MsketcherM Offline
                    Msketcher
                    last edited by

                    @rich o brien said:

                    But then the models loaded style would need to either undo changes to default to the collection config or load in a style of the same name with different display settings.

                    All styles changes need to be new styles. Hence that pop up you get when it detects changes between scenes.

                    Did you check the 'don't ask me again' option for that?

                    This really doesn't have to do with the style warning window that pops up when saving scenes. In the video, you can see that I selected a style, then immediately saved the scene, no changes were made to the style. No warning window appeared.

                    Think about any time you've needed to make a temporary change to a style setting. Maybe you flipped Xray on in order to see something better, or you toggled section planes to tweak the position a little.

                    You don't care about saving these small changes, you just did them on the fly. So why would you want SketchUp to show these style changes in all of your scenes when you intentionally avoided clicking Update style?

                    1 Reply Last reply Reply Quote 0
                    • MsketcherM Offline
                      Msketcher
                      last edited by

                      @driven said:

                      I can't get it to do that on my mac...
                      the scenes switch styles even if one is in update state...

                      Is it only when your not in the model collection? [your in the default collection in your video]
                      john

                      Perhaps Mac is different?

                      Regarding "In Model" vs "default", it's my understanding that as soon as you click on a style in any folder, it creates a copy, saves it in your "In Model" folder. So you're actually seeing and editing the "In Model" copy regardless.

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by

                        That's a good point.

                        Blender has a similar issue but it dumps out unused elements on save.

                        If there is a reason you need that duplicate setting then you can make it a Fake User setting so it saves with the file.

                        I'm going off topic.

                        I see your point though. Your temp tweaks are becoming associated to other scenes.

                        Download the free D'oh Book for SketchUp πŸ“–

                        1 Reply Last reply Reply Quote 0
                        • MsketcherM Offline
                          Msketcher
                          last edited by

                          Exactly, my temporary tweaks are being associated to other scenes. That's the point I'm trying to make.

                          1 Reply Last reply Reply Quote 0
                          • pbacotP Offline
                            pbacot
                            last edited by

                            Yes it happens on the Mac. The thing is if the other scenes have the same style, you've not done a style change, so you still see the style which is under temporary adjustment.

                            Does that really happen in LO?

                            MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                            1 Reply Last reply Reply Quote 0
                            • Rich O BrienR Offline
                              Rich O Brien Moderator
                              last edited by

                              The only thing is that styles remember all their original settings. So toggling X-ray on causes the refresh but toggling off restores it to its original config.

                              In terms of explaining this behavior via a video tutorial.....it'll be like watching Inception again

                              Download the free D'oh Book for SketchUp πŸ“–

                              1 Reply Last reply Reply Quote 0
                              • MsketcherM Offline
                                Msketcher
                                last edited by

                                @pbacot said:

                                Yes it happens on the Mac. The thing is if the other scenes have the same style, you've not done a style change, so you still see the style which is under temporary adjustment.

                                Does that really happen in LO?

                                Here are the conditions that will cause all your LayOut scenes to get messed up:

                                1. Save scenes with a specific style.
                                2. With that same style active, make some temporary style overrides. (Don't save the style)
                                3. Save your model.
                                4. Open LayOut, Update model reference. (All your viewports will show the temporary style overrides, even though you didn't save them to the style.)

                                I guarantee a million people have had this happen and didn't even know it. I know I have. The problem is it's an easy fix. Just open SketchUp again, click on any style, and you're all set. So it's nearly impossible to put your finger on, you think you're just going crazy.

                                1 Reply Last reply Reply Quote 0
                                • Dave RD Offline
                                  Dave R
                                  last edited by

                                  @msketcher said:

                                  ...you think you're just going crazy.

                                  Are you sure you aren't?

                                  πŸ˜† Sorry. It was an easy opening.

                                  I learned a long time ago with LO to make sure that my SU model shows no un-updated styles; that is, no styles which display the circular arrows over the thumbnail; before saving the file and going or returning to LO. if I make a change to a style setting, I click on the thumbnail to update the style or, I right click on the scene tab and choose Update from the context menu. If the style is different from the scene's definition, the warning box pops up asking what to do with the style. Some people do turn off that warning box and that seems to create all kinds of trouble for them.

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    driven
                                    last edited by

                                    @dave r said:

                                    ...Some people do turn off that warning box and that seems to create all kinds of trouble for them.

                                    I have my warning turned off and I can't reproduce the in SU problem...
                                    I must be doing it wrong...
                                    john

                                    learn from the mistakes of others, you may not live long enough to make them all yourself...

                                    1 Reply Last reply Reply Quote 0
                                    • Dave RD Offline
                                      Dave R
                                      last edited by

                                      John, if you make a change to the current style without updating it and then create a scene, do you have a work flow to ensure the style gets updated?

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        driven
                                        last edited by

                                        @dave
                                        doing it like that I get the warning dialog [which I'm sure was disabled]...

                                        since I can't reproduce the issue, It's best I withdraw before I learn how to...

                                        john

                                        learn from the mistakes of others, you may not live long enough to make them all yourself...

                                        1 Reply Last reply Reply Quote 0
                                        • Dave RD Offline
                                          Dave R
                                          last edited by

                                          πŸ˜†

                                          Nah. Stay in. I'd guess the warning isn't disabled then.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            driven
                                            last edited by

                                            have you ever gotten really lost...

                                            then some time later make the same journey...

                                            you recall the route exactly, turn by turn, until you end up lost again...

                                            that's me...

                                            john

                                            learn from the mistakes of others, you may not live long enough to make them all yourself...

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement