SHARE
TWEET

Untitled

a guest May 21st, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top