Advertisement
Guest User

Untitled

a guest
May 21st, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import bpy
  2.  
  3. csv_file="c:\\tmp\\out.csv"
  4. f=open(csv_file, 'w')
  5.  
  6. for item in bpy.data.objects:
  7. f.writelines(str(item.name)+', '
  8. +str(item.location[0])+', '
  9. +str(item.location[1])+', '
  10. +str(item.location[2])+';')
  11.  
  12. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement