Page 1 of 1

accessing points on a spline

Posted: August 24th, 2006, 11:12 am
by alberto
Does anyone know how to access point coordinates on a mask/path?

The ultimate goal is to link layers to a mask, so that animating the mask would move the linked layers.

Ideally I would love to access any point on the spline, but even just the vertices would probably good.

Thanks

A

Posted: August 25th, 2006, 2:06 am
by vidpat
Well, a script would not be able to do this dynamically. That would require an expression, but expressions cannot access mask vertices, unfortunately. You could write a script that would generate position keyframes for the layers once the mask has been animated.

I'll refer you to my CreateShape script for an example of manipulating mask data via script.