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

    Problem with function Animate

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    3 Posts 2 Posters 1.1k 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.
    • A Offline
      AlainBo
      last edited by

      Hi,

      I just want to open 2 doors.
      On first one I added the attribute OnClick Animate(RotZ, 0, 90) --> perfect
      On second one I added the attribute OnClick Animate(RotZ, 0, -90) --> problem, the door open but never close. I see the attribute's value changing from 0 to -90 alternatively but the door stay open.

      I wasn't able to workaround changing the axes.

      Any idea?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Hi Alain,

        Check out this topic for the answer. In short, quotes are needed around the attribute name.

        http://forums.sketchucation.com/viewtopic.php?f=289&t=35356

        onClick: animate("RotZ", 0, -90)

        Hi

        1 Reply Last reply Reply Quote 0
        • A Offline
          AlainBo
          last edited by

          Arghhhh!!!!!

          Stupid guy, it's written in the doc!!!!!

          Thanks a lot
          Regards,
          Alain

          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