sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    ANIMATE negative value creates a new Custom attribute

    Scheduled Pinned Locked Moved SketchUp Bug Reporting
    sketchup
    1 Posts 1 Posters 458 Views 1 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.
    • W Offline
      Wainiha
      last edited by

      Using a negative value for ANIMATE in an 'onClick' behavior creates a new Custom attribute - SU Pro 7.1 - image shows example:

      1. animate(doorAngle,0,90) works correctly.

      2. Interact clicks toggle values between "0" and "90", doors open/close as expected.

      3. Change animate value from "90" to "-90" and click to Interact; 'doorAngle' value changes to "-90" and doors open backwards as expected.

      4. Click again and ERROR! Instead of 'doorAngle' value changing from "-90" back to "0" as expected (closing the doors), a new Custom attribute is created with the name "-90", and on subsequent Interact clicks, its value toggles instead of 'doorAngle'.

      http://www.wingo.com/images/animate_error.gif

      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