Message 1 of 1
Import a global template render layer with python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I'm struggling to find any info on how to import a template layer with python.
I have found this
def importRenderSetup(filename):
with open(filename, "r") as file:
renderSetup.instance().decode(json.load(file), renderSetup.DECODE_AND_OVERWRITE, None)
But I guess this is erroring out because its for a setup, not a layer.
Any leads appreciated.
Thanks!