I have many lights I need to change from Point to Infinite in each of my scene and keep all other parameters the same (color, intensity, position, rotation, parent...).
Is it possible to get this done in Python simply?
You can do it in Python. Simply query the scene for all the lights, change the attribute LightType to kFBLightTypeInfinite.
See script below.
Hope that helps. :)
from pyfbsdk import *
lLightList = FBSystem().Scene.Lights
for i in range(0, lLightList.__len__()):
lLightList.__getitem__(i).LightType = FBLightType.kFBLightTypeInfinite