I want to make list of scenes, and found blender list ui using template_list from How to compile template_list with some object in scene 2.8.

I think it would be possible writing like..


I don't know how to use "active_..._index" from that UIList panel.

Many Thanks


1 Answer 1


To make a list of all the scenes in your .blend file (assuming that is what you actually meant in your question, which is a little vague)

scenes = []
for scene in bpy.data.scenes:
  • $\begingroup$ well, I want to make UI displaying scenes in my .blend file, not just python console :( $\endgroup$
    – Youdi
    Commented Sep 4, 2022 at 4:28

You must log in to answer this question.

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