How to use: bpy.types.Panel >> bl_options = {'INSTANCED'}

class PANEL_PT_name(bpy.types.Panel):
    bl_options = {'DEFAULT_CLOSED', 'INSTANCED', 'HEADER_LAYOUT_EXPAND', 'DRAW_BOX'}

    def draw(self, context):
        ....

In this example (Panels), how to use 'Instanced'?
It’s used in the Constraints window but as far as I can tell, it’s ONLY used there and the sole point is to use the drag and drop system without converting the entire draw calls to C, like what was done with modifiers.

And even if it IS only functional in the constraints window, can you still tell me how to use it?

I originally wanted to use it to add my own panels to the constraints window but it appears to REALLY just be for the constraints, which have connections to the internal code.

2 Likes