Reverse Path Direction

H

Hans W. Hofmann

Hi,
has any one found a vba equivalent to Reverse Path Direction of a path
animation?
 
S

Shyam Pillai

Hans,
You can check the value of the Speed property of the 1st behaviour of the
motion path. +'ve or -'ve value determines the path direction.
?Activepresentation.Slides(1).TimeLine.MainSequence(1).Behaviors(1).Timing.Speed
-1

However, while you can use the above property to determine if the path is
reversed, there is no way to set it to a negative value in the OM since it
will throw an error.
Only way to change the direction programmatically is to rearrange the actual
motion path coordinates.
 
H

Hans W. Hofmann

On Sun, 20 Nov 2005 22:42:15 +0530, "Shyam Pillai"

Hi Shyam,

thank you and excuse me for personal mail - I hit the wrong button...
Curious, the Timing.Speed 0 reverse the path, but an animation speed
of 0 is to boring for the users :). What ever?
I have a Sub ReverseCurvePath now. If it is interesting for you let
me know...

Hans,
You can check the value of the Speed property of the 1st behaviour of the
motion path. +'ve or -'ve value determines the path direction.
?Activepresentation.Slides(1).TimeLine.MainSequence(1).Behaviors(1).Timing.Speed
-1
However, while you can use the above property to determine if the path is
reversed, there is no way to set it to a negative value in the OM since it
will throw an error.
Only way to change the direction programmatically is to rearrange the actual
motion path coordinates.

Gruß HW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top