Search found 3 matches
- March 4th, 2012, 10:13 am
- Forum: Scripts Discussion
- Topic: Accessing effect parameters
- Replies: 1
- Views: 7065
Accessing effect parameters
I have a script that creates a solid, applies Trapcode Form to it, and sets a bunch of the Form parameters. As I understand it, there are two methods of accessing effect parameters. The cleaner method is to reference the name of the parameter: var Form = FX.addProperty("tc Form"); Form(&qu...
- March 4th, 2012, 9:25 am
- Forum: Expression Discussion
- Topic: Avoid activeCamera errors by checking if activeCamera exist?
- Replies: 2
- Views: 12459
Re: Avoid activeCamera errors by checking if activeCamera ex
Works perfectly! Thanks!Dan Ebberts wrote:try{
thisComp.activeCamera;
(do stuff)
}catch (err){
(do different stuff)
}
- March 3rd, 2012, 8:31 am
- Forum: Expression Discussion
- Topic: Avoid activeCamera errors by checking if activeCamera exist?
- Replies: 2
- Views: 12459
Avoid activeCamera errors by checking if activeCamera exist?
I have created some expressions that work in conjunction with a camera brought in from a 3D app. Because I am frequently swapping out the camera for a new one, I am using thisComp.activeCamera rather than a hard link. Of course this means that if the camera ends before the comp, it will error and di...