add solid to project

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
pirelouit
Posts: 18
Joined: January 16th, 2006, 12:08 pm

Hi! I made a script that makes a comp with selected footage and adds a timecode. The problem is that it creates a new solid every time.

Is there a way to add a timecode without a solid or to have the script create a solid in the project and then add the same solid to every comp it makes?

Thanks
pirelouit
Posts: 18
Joined: January 16th, 2006, 12:08 pm

I realized the reason why what I was trying to do was not working was because I was using 'mainSource' instead of 'source'...

Code: Select all

var timecodeSolid = myComp.layers.addSolid(compBG, "timecodeSolid", 150, 35, compRatio, curDuration);
var timeCode = myComp.layers.add(timecodeSolid.source);
Post Reply