bpy_get_render_settings.py 786 B

1234567891011121314151617181920212223
  1. # THIS FILE IS A PART OF VCStudio
  2. # PYTHON 3
  3. #############################################################################
  4. # This file is going to output render setting from the blend file to our
  5. # renderer. NOTE: This file is using BPY module that is running inside
  6. # blender and is not going to run on standard python3.
  7. #############################################################################
  8. import bpy
  9. # The following print() commands are going to be piped into VCStudio.
  10. # You can extend the data by adding more lines here. Keep in mind that
  11. # you have to also write support for the lines you add into the render layer.
  12. # See:
  13. # studio/studio_renderLayer.py
  14. print("Start_frame :", bpy.context.scene.frame_start)
  15. print("End_frame :", bpy.context.scene.frame_end)