Good afternoon...
There are 2 layers in the scene. The second layer is the map Z depth or ( app.project.item(1).layer(2).name = "Z depth"
Trying to record the settings for the effect Camera Lens Blur. This is the second effect applied to the layer
------------------------------------------------------------------------------------------ ------------------------------------------------------------------
// set ID MATTE
app.project.item (1).layer(1).property("ADBE Effect Parade").addProperty("ADBE ID MATTE")("ADBE ID MATTE-0001").setValue(2);
app.project.item (1).layer(1).property("ADBE Effect Parade").property("ADBE ID MATTE")("ID Selection").setValue(0);
// set Camera Lens Blur
app.project.item (1).layer(1).property("ADBE Effect Parade").addProperty("ADBE Camera Lens Blur")("ADBE Camera Lens Blur-0010");
app.project.item (1).layer(1).property("ADBE Effect Parade").property("ADBE Camera Lens Blur-0010").property("Blur Map").property("Layer").setValue(2);
------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ -----------
echo: null is not an object
????