4 class OBJECT_PT_hello(bpy.types.Panel):
5 bl_label = "Hello World Panel"
6 bl_space_type = "PROPERTIES"
7 bl_region_type = "WINDOW"
10 def draw(self, context):
16 row.label(text="Hello world!", icon='WORLD_DATA')
19 row.label(text="Active object is: " + obj.name)
25 bpy.utils.register_class(OBJECT_PT_hello)
29 bpy.utils.unregister_class(OBJECT_PT_hello)
32 if __name__ == "__main__":