sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Scenes, hidden entities and undo

    Scheduled Pinned Locked Moved SketchUp Bug Reporting
    sketchup
    7 Posts 4 Posters 1.0k Views 4 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.
    • G Offline
      guzman tierno
      last edited by

      To reproduce the bug consider the following situation:

      I have a model representing two cubes.
      The model has two scenes: scene 1 shows the cubes, scene 2 hides cube 2.
      In scene 1 I draw a rectangle on a corner of cube 2 and I use push/pull.
      I then use undo to undo the push/pull operation and the rectangle.

      Scene 2 does not return to its previous state:

      this is not the behaviour I expect from undo.

      Is this "bug" already known ?
      I didn't find it in the forum.

      Thx,
      guzman.

      1 Reply Last reply Reply Quote 0
      • AnssiA Offline
        Anssi
        last edited by

        I don't know if I am quite right, but I understand that Undo in SU applies only to modeling operations, not the display. This might explain the behaviour you are experiencing.

        Did you look at your scene 2 after you did your push-pull operation? That would maybe also also not look as you expected. All the new geometry you did generate (the rectangle and the new faces and edges created by the pushpull) are visible there. That is also how SU behaves. New geometry is by default visible in all scenes, and to hide it, you have to hide it in every scene separately, and then update the scene.

        I would overcome this by isolating the cubes by making groups of them, and hiding the groups as needed. After that, any edits done within a group would not affect its visibility in other scenes.

        Anssi

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

        1 Reply Last reply Reply Quote 0
        • G Offline
          guzman tierno
          last edited by

          Thanks for your answer,
          I undertand what you say but some aspects remain unclear to me:

          if Undo in SU applies only to modeling operations, after undoing modeling operations I wouold expect to have the same entities I had before the modeling operations (the exact same entities) and I would therefore expect to have the same display options on scenes.
          It looks instead as if after undoing modeling operations you obtain new entities that have the same positions of the ones you had before the modeling operation, but since they are new entities you loose display options.

          I understand that the contract of Undo does not require it to set display options to their previous states and I understand that the are many workarounds, but it seemed to me a strange behaviour.

          Thanks for your answers.

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

            Guzman,

            Why don't you attach the ,skp file? I cannot visualize the problem.

            Have fun...

            Dik

            1 Reply Last reply Reply Quote 0
            • G Offline
              guzman tierno
              last edited by

              I have a model with 2 cubes (or parallelepidi)

              2cubes.jpg

              In scene 2 the cube on the right is hidden

              In scene 1 I modify the model as follows

              2cubes2.jpg

              I then use undo to undo this operation.
              The model returns to its previous state, but the display options of scene 2 do change: here's scene 2 after undoing modeling operations:

              2cubes3.jpg

              I understand that undo does not have to set display options to their previous states, but this behaviour is somewhat annoying.

              I hope the issue is clear (and sorry for english mistakes).

              guzman.

              1 Reply Last reply Reply Quote 0
              • GaieusG Offline
                Gaieus
                last edited by

                Hi Guzman,

                Note that any change in the geometry will be unhidden by default. Could you do one step more in the undo operation to see if everything disappears to the unhidden state? It seems now that you started the modification by drawing something on that top edge but haven't undone this very first step.

                Gai...

                1 Reply Last reply Reply Quote 0
                • G Offline
                  guzman tierno
                  last edited by

                  I understand that any change in the geometry will be unhidden by default,
                  but after undoing every step some entities do not return to their hidden state.
                  I tried many times and I always get this behaviour even thow the unhidden entities
                  in the resulting scene may change.

                  thanks,

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

                  Advertisement