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
-
Using a negative value for ANIMATE in an 'onClick' behavior creates a new Custom attribute - SU Pro 7.1 - image shows example:
-
animate(doorAngle,0,90) works correctly.
-
Interact clicks toggle values between "0" and "90", doors open/close as expected.
-
Change animate value from "90" to "-90" and click to Interact; 'doorAngle' value changes to "-90" and doors open backwards as expected.
-
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'.

-
Advertisement