-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontino.py
44 lines (30 loc) · 831 Bytes
/
contino.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
bl_info = {
"name": "contino",
"author": "Alisseo",
"version": (0, 0, 1),
"blender": (2, 79, 0),
"location": "View3D > Tools > Mesh Contino",
"description": "Mesh counter",
"category": "Mesh Tool",
}
import bpy
objects = bpy.context.scene.objects
list=[]
for obj in objects:
list.append(obj.name)
print(list)
class contino_panel(bpy.types.Panel):
"""Mesh Contino"""
bl_label = "Mesh Contino"
bl_idname = "OBJECT_PT_select"
bl_space_type = 'VIEW_3D'
bl_region_type = 'TOOLS'
bl_category = "Mesh Ccontino"
def draw(self, context):
layout = self.layout
row_1 = layout.row()
row_1.label(text="Selected Objects:")
def register():
def unregister():
if __name__ == "__main__":
register()