Kiyaga edwin #AfterEffects #Script #KBar Create solid named background with a ramp effect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Create solid named background with a ramp effect | |
myComp = app.project.activeItem; | |
app.beginUndoGroup("Add Ramp") | |
mySolid = myComp.layers.addSolid([0,.8,.4], "BG", myComp.width, myComp.height,1); | |
mySolid.startTime = 0 | |
myEffect = mySolid.property("Effects").addProperty("Ramp"); | |
app.endUndoGroup(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"Ramp" needs to be changed to "Gradient Ramp" from CC 2016 on... they changed the name of the effect.