1 2 3 4 5 6 7 8 9 10 11 | import bpy list = [] sel = bpy.context.selected_objects for ob in sel: list.append(ob) #or list+=[ob] print(list) for i in list: print(i) #action: #bpy.context.object.data.auto_smooth_angle = 0.436332 i.data.auto_smooth_angle = 0.43633212 |
mercredi 26 juin 2019
Blender code: dealing with list
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire