Jump to content

Sign in to follow this  
Konichowaa

Script to load render settings

Recommended Posts

Hi ,

is it possible to load specific render settings from the content browser with a script/button? Or if not also load render settings from a merged file?

 

I already managed to script-merge a scene file from the content browser with a standard studio lighting but render settings are not loaded from the merged file

it's for quickly loading my standard render settings and studio lighting into a purchased 3D model file for prepapring it for corona renderer.

 

 

import c4d

def main():
    
    doc = c4d.documents.GetActiveDocument()
    fn = "preset://3D-lab objects.lib4d/SCENE/Scene.c4d"
    c4d.documents.MergeDocument(doc, fn, c4d.SCENEFILTER_OBJECTS | c4d.SCENEFILTER_MATERIALS)

if __name__=='__main__':
    main()

 

thx

Koen

Share this post


Link to post

Hi, 

I'm not entirely sure how to do that but the Class 4 of a Python Scripting Course specifically deals with collecting/reading render settings.
You can check more here:
https://www.fxphd.com/details/339/

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

Latest Topics

Latest Comments

×
×
  • Create New...