Is there a way to extract viewport lights?

Depending on your viewports display mode (and it`s lightning scheme) you can access the lightning setup and recreate it using real light objects.

eg. for the shaded display mode, under Rhino Options/ View/ Display Modes locate the “Shaded” entry. Then scroll down on the right side of the dialog to locate the Lighning Scheme and click on the Customize button. This custom Lightning Setup can be built from distant lights using the direction vectors and the color value shown in the dialog.

It might as well be possible to get hold of these values using scripting and a file containing your displaymode(s) to re-create.


Great,okay i got it…solves a problem.
i was hoping there was a command i did not know about.
Thank you.