Problem with function Animate

General discussion related to SketchUp Pro and Make

Problem with function Animate

Postby AlainBo » Wed May 11, 2011 5:43 pm

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?
0

AlainBo 
 

Re: Problem with function Animate

Postby Jim » Wed May 11, 2011 10:00 pm

Hi Alain,

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

viewtopic.php?f=289&t=35356

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

Jim 
Global Moderator
 

[Solved] Problem with function Animate

Postby AlainBo » Thu May 12, 2011 6:23 pm

Arghhhh!!!!!

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

Thanks a lot
Regards,
Alain
0

AlainBo 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to SketchUp Pro & Make Discussions

Who is online

Users browsing this forum: No registered users and 4 guests

Visit our sponsors: