On 25/10/2014 at 17:06, xxxxxxxx wrote:
Please forgive for such a newbie question, but I'm trying to set a light with the 'detail' parameter of 'LIGHT_DETAILS_FALLOFF_INVERSESQUARE CLAMPED ' but with no luck, please, can some one help me with this issue?
This is part of my code...
> myLight = c4d.BaseObject(5102)
>
> doc.InsertObject(myLight)
>
> myLight[c4d.ID_BASEOBJECT_VISIBILITY_EDITOR] = 0
>
> myLight[c4d.LIGHT_BRIGHTNESS] = 0.7
>
> myLight[c4d.LIGHT_TYPE] = 8
>
> .......
>
> .......
>
> _
>
> _
>
> myLight[c4d.LIGHT_DETAILS_FALLOFF] = 3
>
> _
>
> _
>
> myLight[c4d.LIGHT_DETAILS_OUTERDISTANCE] = 800
>
> _
>
> _
>
>
>
>
> _
>
> _
I always get "SyntaxError: invalid syntax".
Thanks for all your help guys!