Render row.operator not working I am working on an add-on for Blender 2.83.1, which adds a panel to the sidebar. On this panel, the user simply has to press some buttons from top to bottom to achieve the goal (creating an animation of an electron density cloud).
The last button is of course rendering, but I can't get it to work. I am using row.operator('render.render(animation=True)'), but when running the script, the button does not appear. I am doing what is stated in the API I believe. row.operator('render.render') does work, but doesn't give an animation, but a single frame.
The render has to be done using Eevee, I don't know if this makes a difference...
I really hope someone can help me!
full class:
class PT_Make_animation(bpy.types.Panel):
    bl_label = &quot;Animation&quot;
    bl_idname = &quot;PT_Make_animation&quot;
    bl_space_type = 'VIEW_3D'
    bl_region_type = 'UI'
    bl_category = 'e- Density Plot'
    bl_options = {'DEFAULT_CLOSED'}

    def draw(self, context):
        layout = self.layout
        
        # Create the circle, add camera and set
        row = layout.row()
        row.label(text= &quot;Change the camera settings&quot;, icon='TOOL_SETTINGS')
        row = layout.row()
        row.operator('setup.cam_operator')
        
        # Start rendering
        row = layout.row()
        row.operator('render.render(animation=True)')
I think it is meant to be something like
row.operator(&quot;render.render&quot;, text=&quot;Render Animation&quot;, icon='RENDER_ANIMATION').animation = True