Access and change size of a rectangle in a shape layer


hi

 

i'd use script access size of rectangle in existing shape layer in composition...

 

i've created mybox1 variable , assigned shape layer it, still can't find way access size, i've tried mybox1.contents("rectangle 1"].property["size"][0] didn't seem work... idea?

 

thanks

try way:

 

mybox1.property("contents").property("rectangle 1").property("contents").property("rectangle path 1").property("size")

 

if don't have it, you'll want pick jeff almasol's wonderful rg_gimmeproppath.jsx script redefinery web site. it's excellent tool getting scripting or expression syntax property's path

 

dan



More discussions in After Effects Scripting


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

login issue Duplicate entry '' for key 'PRIMARY' SQL=INSERT - Joomla! Forum - community, help and support

Liquify as a Smart Filter Issue in Photoshop Creative Cloud edition