3
$\begingroup$

One can show the modifier stack inside the tool shelve. But would it be possible to show this inside a floating window?

F6 opens a window with options of the last command but the window always goes away.

enter image description here

$\endgroup$
  • $\begingroup$ AFAIK this is impossible. The closest you can get would be to put the properties view in a whole new window by shift-clicking the split view grip at the top right. $\endgroup$ – PGmath Jan 2 '16 at 0:19
3
$\begingroup$

For a floating panel that stays in place you might want to read this question.

For something closer to the operator properties panel you could define a custom draw method to send to custom popup menu.

def draw_popup(self, context):
    col = self.layout.column()
    row = col.row()
    row.label("Hello World")
    row = col.row()
    row.prop(context.scene.render, 'resolution_x')

class ShowPopupOperator(bpy.types.Operator):
    bl_idname = "object.show_popup"
    bl_label = "sample show popup"

    def invoke(self, context, event):
        context.window_manager.popup_menu(draw_popup, title='Test this', icon='INFO')
        return {'FINISHED'}

To show the operator properties as shown in your question you can use the invoke_props_popup. To customise the display you give your operator a draw method.

class ShowPopupOperator(bpy.types.Operator):
    bl_idname = "object.show_popup"
    bl_label = "sample show popup"
    bl_options = {'REGISTER','UNDO'}

    prop1 = bpy.props.IntProperty()
    prop2 = bpy.props.FloatProperty()

    def invoke(self, context, event):
        return context.window_manager.invoke_props_popup(self, event)

    def execute(self, context):
        # do stuff here
        return {'FINISHED'}

    def draw(self, context):
        col = self.layout.column()
        row = col.row()
        row.label("Hello this the operator drawing")
        row = col.row()
        row.prop(self, 'prop1')
        row = col.row()
        row.prop(self, 'prop2')
| improve this answer | |
$\endgroup$
0
$\begingroup$

The menu has a selection Duplicate Window

enter image description here

Duplicate the window.

Then design the layout of the new Window to have what ever you want. It can have 1, 2, N panels as you choose.

You may use the screen layout feature to name and manage your screen layouts.

enter image description here

| improve this answer | |
$\endgroup$
  • 1
    $\begingroup$ I think you misunderstood me - I am looking for a way to generate a floating window/palate inside the 3D view similar to what happens when you press F6. But I would that floating window to stay! $\endgroup$ – Claas Kuhnen Jan 1 '16 at 23:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.