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

    Instance.move!() and instance.transform!()

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 107 Views 2 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.
    • M Offline
      MartinRinehart
      last edited by

      There are two important differences between move!() and transform!().

      The first, which is documented, is that move!() does not record changes on the undo stack.

      The second, which is not documented, is that move!() does not invalidate the view (so does not force immediate redraw).

      This is well-designed and correctly implemented, making move!() ideally suited for use in animations.

      Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Yes, .move! is great for animations for those reasons. It should not be compared to .transform! though, as they are dissimilar methods. It should be compared only to .transformation = . As that is what the .move! method is acutally doing.

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        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