Results 1 to 3 of 3
  1. #1

    How to access values within a 2nd, closed .blend-file?

    I am working in a .blend. Can I access (through Python) a 2nd, closed .blend-file?
    I would like to access values like object-positions (I know the names of the objects).



  2. #2
    You will have to open the file, one way or another. I assume you don't want to manually decode the whole blend file into python just to get to the values.

    You could use the the linking API: https://docs.blender.org/api/blender...Libraries.html

    So link an obj (you can link only the ones with the names you want) from your other file into the current file, and then get the location from that.



  3. #3
    Member SterlingRoth's Avatar
    Join Date
    Mar 2006
    Location
    Portland, OR
    Posts
    1,972
    I often will link in a whole scene if I need to reference a lot of external objects



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •