Post #247: Thanks again roaoao!! Works nice!! I will try to implement the few options Wazou

📋 Metadata

  • Author: Leafar
  • Date: 2016-07-30 08:01:37
  • Type: question
  • Quality Score: 5/10
  • Replies (1): post_00248

🏷️ Tags

macro beginner unsolved

  • Macro Editor

💬 Content

Thanks again roaoao!! Works nice!! I will try to implement the few options Wazou´s had and I am interested in!! Thanks!!!

Sorry for bothering you but how I know nothing about coding… XDDD, now I am trying the split area option, this one, but I get nothing…:

Split area horizontal

class SplitHorizontal(bpy.types.Operator):
bl_idname = “split.horizontal”
bl_label = “split horizontal”
bl_options = {‘REGISTER’, ‘UNDO’}

def execute(self, context):
    layout = self.layout

    bpy.ops.screen.area_split(direction='HORIZONTAL')
    return {'FINISHED'}

🔗 View on Blender Artists