Adobe 12040118 Using Help - Page 108
Layer remove() method, Layer selectedProperties attribute, Layer setParentWithJump() method, Layer
UPC - 718659361808
View all Adobe 12040118 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
Help Using Help Reference Back 108 Layer remove() method app.project.item(index).layer(index).remove() Description This method deletes the specified layer from the composition. Parameters None. Layer selectedProperties attribute app.project.item(index).layer(index).selectedProperties Description This attribute yields an array containing all of the selected Property and PropertyGroup objects in the layer. Type Array of PropertyBase; read-only. Layer setParentWithJump() method app.project.item(index).layer(index).setParentWithJump(newParent) Description The Layer setParentWithJump() method establishes newParent as the parent of this layer. This method does not change the transform values of the child layer, and as a result, there may be an apparent jump in the rotation, translation, or scale of the child layer. If you do not want the child layer to jump, set the parent attribute directly (as in "childLayer.parent = newParent;"). When you set the parent attribute directly, an offset will be calculated and set in the child layer's transform fields, which will prevent the jump from occurring. Parameters newParent replacement parent layer Returns None. Layer shy attribute app.project.item(index).layer(index).shy Description The Layer shy attribute is true if the layer is shy, and therefore will be hidden in the Layer window if the composition's hide all shy layers is toggled on. Type Boolean; read/write. Using Help Back 108