setValue()

app.project.item(index).layer(index).propertySpec.setValue(newValue)

Description

Sets the static value of a property that has no keyframes.

If the named property has keyframes, this method generates an exception and displays an error. To set the value of a property with keyframes, use Property setValueAtTime() method” or “Property setValueAtKey() method”.

Parameters

ne wVa lue A value appropriate for the type of property being set;

Returns

Nothing.

Other Tags

Posted in Property object and tagged , , , , , , , .