Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Add Motion Path Problem

1 view
Skip to first unread message

Gil_H

unread,
Oct 12, 2006, 4:39:59 AM10/12/06
to
Hi,
I'm making a macro that knows to move a shape - with adding motion path
to it - to a target destination.
But when i add that motion path (with adding it to the timeline - and
then add Behaviour) it does the work, but it doesn't changes the Path
Property, so when i want to use the Path Property the string inside is
empty ( "" ) and i can\t use the other properties (such as From, To, By
) because it just doesn't correct!
Do you have any solution?
Is it possible to change the Path ( That is Read-Only ) ?
Thanx,
Gil H.

Shyam Pillai

unread,
Oct 13, 2006, 8:55:42 AM10/13/06
to
The Motion path is not read-only. You can access and set it by changing the
behavior. Assuming that the motion path animation is the first one on the
slide. The following command with display the path.

?Activewindow.Selection.SlideRange(1).TimeLine.MainSequence(1).Behaviors(1).MotionEffect.Path

You can assign it too in the following manner (oSld is a slide reference).

oSld.TimeLine.MainSequence(1).Behaviors(1).MotionEffect.Path = "M 0 0 L
0.25 -0.33333 E"


--
Regards,
Shyam Pillai

Animation Carbon
http://www.animationcarbon.com


"Gil_H" <gil....@gmail.com> wrote in message
news:1160642399.9...@e3g2000cwe.googlegroups.com...

0 new messages