app.project.item(index).setProxyWithSolid(color,name,width,height,pixelAspect)
Description
Creates a SolidSource object with specified values, sets this as the value of the proxySource attribute, and sets useProxy to true. It does not preserve the interpretation parameters, instead using the user preferences.
NOTE: There is no way, using the user interface, to set a solid as a proxy; this feature is available only through scripting.
Parameters
color The color of the solid, an array of 3 floating-point values, [R, G, B], in the range [0.0..1.0].
name A string containing the name of the new object.
width, height The pixel dimensions of the placeholder, an integer in the range [1…30000].
pixelAspect The pixel aspect of the solid, a floating-point value in the range [0.01… 100.0].
Returns
Nothing.