Copying a CUSTOM_VALUE PropertyValueType

What type of scripts do you need?

Moderator: byronnash

Post Reply
Andrew Wahlquist
Posts: 1
Joined: February 19th, 2007, 6:24 pm

Help! I'm writing a script that will mass copy the effects and attributes of one layer to another layer, (It will take the effects attributes from 50 layers of one composition, and respectively apply the attributes to the same 50 layers in the selected composoition) but I'm stuck on CUSTOM_VALUE properties.

When a property has a CUSTOM_VALUE in the PropertyValueType, then the .setValue method and the .value attribute don't work. (As in Levels or Curves)

How can I get around this? Is there anyway to mass paste a property object from one layer to the next? I've seen how you can copy all the effects property over to your own Array, but how do you apply it back to another layer?

Thanks,
Andrew
LA, CA
Post Reply