Setting a light layer's Light Type

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
davestewart
Posts: 114
Joined: March 10th, 2005, 5:50 am
Location: London, UK
Contact:

Hey Hey,
Is there any way to do this via scripting alone? The default spotlight is NOT what I want in some cases...

Thanks,
Dave
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

I can't find any mention of it in the scripting guide. One workaround is to create a small support project containing one of each light type and get your script to import them. (can use this technique for text layers too).

Paul T
davestewart
Posts: 114
Joined: March 10th, 2005, 5:50 am
Location: London, UK
Contact:

Thanks Paul, I'll look into that.
If it works, and for non-targeted Cameras as well, I owe you a beer.

Cheers!
Dave
davestewart
Posts: 114
Joined: March 10th, 2005, 5:50 am
Location: London, UK
Contact:

I owe you that beer for sure!

I've created a library of non-scriptable objects (Point, Ambient, Parallel, Free Spot, Free Camera) and am able to import, copyToComp, and remove the imported items at the end.

Sweet stuff indeed! That's made my weekend, as it's killed 2 birds with one stone :)

Cheers,
Dave
Post Reply