Control new solid's width and height

Hi,
I’ve figured out how to create a new solid, and I see there’s an option to affect the solid’s X & Y scale, but I was wondering if there was a way to create the solid with a specific width and height. (In other words, 100x1080 as opposed to figuring out the math of what percentage of 1920 would be 100 pixels and setting the x scale to that). It would be even greater if the user could determine the size.

Is this possible?

Thanks!

Hi @skimber , Welcome to the forum!
yes it is possible,
you can add a solid to the comp using the item action “add solid”, it will add a new solid with the resolution of the composition, next loop through the layers in the composition, the new solid will be at index 1 so if the index is 1, you will create an item variable that will store the source footage of the solid layer, with this variable you can set the width and height properties of the solid though it’s layer source.

Check out this example -
Download -
New Solid.json (12.8 KB)

Please let me know if you have more questions,
Alon

This is brilliant! Thank you so much!

1 Like