-
scripting: add a custom default layer in Layer Control?
Hi! I recently purchased the awesome ft-toolbar, so I decided to finally (try to) create a little script for the automation of the cam + nulls creation I aaalways do o every project (and add it as a button to the ft-toolbar)
When I add a Layer Control on the null (to pick the Layer wich will be the focus target for the DOF control), is there a way to start with a given layer from the beginning, or that is not possible?
I have this, inside a null:
var focuslayer = camNull("Effects").addProperty("Layer Control");
focuslayer.name = 'focus layer'
so I tried to simply add the focus layer (a previously created null called DOF) like adding a value, but I guess it’s not the correct way
focuslayer.property("Layer").setValue("DOF");do you think it’s doable?
thanks in advance!