Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- item='MESH'
- bpy.ops.object.select_all(action='DESELECT')
- bpy.ops.object.select_by_type(type=item)
- bpy.ops.object.join()
- [‘MESH’, ‘CURVE’, ‘SURFACE’, ‘META’, ‘FONT’, ‘ARMATURE’, ‘LATTICE’, ‘EMPTY’, ‘CAMERA’, ‘LAMP’, ‘SPEAKER’]
Add Comment
Please, Sign In to add comment