accessing points on a spline

What type of scripts do you need?

Moderator: byronnash

Post Reply
alberto
Posts: 1
Joined: August 24th, 2006, 10:26 am

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
vidpat
Posts: 86
Joined: October 21st, 2004, 12:36 am
Location: Phoenix, AZ
Contact:

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.
Post Reply