Navigation

    • Register
    • Login
    • Search
    1. Home
    2. shrvnn
    S

    shrvnn

    @shrvnn

    0
    Reputation
    4
    Posts
    100
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • Profile
    • More
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups
    shrvnn Follow

    Best posts made by shrvnn

    This user does not have any upvoted posts yet.

    Latest posts made by shrvnn

    RE: Cannot update values of BaseContainer of VideoPost

    I am facing a new problem. You said that c4d.EventAdd() will update the GUI.

    I am actually changing the Renderer from plugin which is called using CommandLine. When I make change, the value in drop down for Renderer changes from Standard to Indigo Renderer, but the sub menu doesn't refresh. The submenu has options like Output, Save, Material Override and so on.

    When I manually change it back to Standard and again back to Indigo renderer or any, the sub menu is refreshed and respective values are reflected. First it remain same as that of Standard Renderer.

    Is there any other way to update render settings menu?

    posted in Cinema 4D SDK •
    RE: Cannot update values of BaseContainer of VideoPost

    That really worked! Thank you so much Sebastian! I had almost hit a wall solving this.

    posted in Cinema 4D SDK •
    SetDriven updated at the end of script and not when SetDriver is updated

    I am trying to update SetDriver from the script and then do a CallCommand for rendering. The SetDriver is basically change in render setting Image save path.

    The SetDriven is only changed when the script ends and not straight away after SetDriver is updated.

    I want SetDriven to get updated as soon as SetDriver is updated through python script.

    Please help.

    posted in General Talk •
    Cannot update values of BaseContainer of VideoPost

    I am using Indigo Renderer plugin in Cinema4D for rendering. I am trying to automate rendering. For that I need to change the value of Save Image path under Indigo Renderer settings in C4D Render Setttings.

    I have successfully accessed the value of Save Image path through code. But on modifying it doesn't reflect in render settings or even if I again fetch the values by repeating the same code. The values are not updated at all.

    rd = doc.GetActiveRenderData()   
    vp = rd.GetFirstVideoPost()
    while(vp.GetName() != "Indigo Renderer"): 
        vp = vp.GetNext()
        if(vp is None): 
            return
    bc = vp.GetData()
    
    #Getting the correct value as in Render Setting UI
    print bc[c4d.RS_IMAGE_SAVE_PATH]
    
    #Updating the file path
    bc[c4d.RS_IMAGE_SAVE_PATH] = "FileName"
    
    #Repeating the code to get the value after changing
    rd = doc.GetActiveRenderData()
    vp = rd.GetFirstVideoPost()
    while(vp.GetName() != "Indigo Renderer"): 
         vp = vp.GetNext()
         if(vp is None): 
             return      
     bc = vp.GetData()
    print rd[c4d.RS_IMAGE_SAVE_PATH]
    #The image path is not updated.
    

    I have also tried GetDataInstance() and then update, but didnt work.

    Please help!

    posted in Cinema 4D SDK •