Forum: Poser Python Scripting


Subject: How to mirror a light

sergio777 opened this issue on Sep 18, 2021 ยท 13 posts


structure posted Sat, 18 September 2021 at 7:30 PM Forum Coordinator

it seems that you can only mirror the parameters if you mirror them separately. and don't forget to scene.Draw() or scene.DrawAll() at the end.


```

if transitions().IsYRotate( parm ):

    parm.SetValue( -parm.Value() )

if transitions().IsXTranslate( parm ):

    parm.SetValue( -parm.Value() )

```


and the forum appears to be borked again.

Locked Out