I want to exposure render settings, specifically, Frame Rate, Resolution X and Resolution Y to my addon panel for convenience, I tried:

layout.prop(data=bpy.context.scene,property="render.fps",text="Frame Rate")
layout.prop(data=bpy.types.RenderSettings,property="fps",text="Frame Rate")

But none of them worked, so is there a way to achieve this?


1 Answer 1


I figured it out, the data needs to be just the one higher level instead of two, then it works.

layout.prop(data=bpy.context.scene.render,property="fps",text="Frame Rate")

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .