I've written this script for a friend who needed to, as the title suggests, export and import light linking data between scenes.
- Paste the contents of (or drag and drop)
lightLinkingData-ExportImport.pyinto the script editor - Run it and click the
Exportbutton
This will create a new file in the folder your scene is in, called <sceneFileName>-lightLinkingData.pkl.
This file holds all the LLD.
- Import or reference in the scene you've exported the LLD from into your current one
- Paste the contents of (or drag and drop)
lightLinkingData-ExportImport.pyinto the script editor - Run it and click the
Importbutton - Select the
.pklfile you've created in the Export LLD section
With this done you should now have your LLD settings imported into your current scene
Please don't import .pkl files you get from untrusted sources (e.g.: sent to you by someone else you don't trust) as they can be a security risk.
The ones created by this code are safe to use of course; you can check out (the fairly well commented) code in lightLinkingData-ExportImport.py to see for yourself.