I want to change the value of "Pass" type inside the "UV/Image Editor" area as shown on image. enter image description here The default "Pass" value is "Combined" and I want to change the value to other available types with python script.

I was able to manipulate "Layer" type using


but i'm not able to find mentioned "Pass" value in the python API.

Thank you for your answers and time!

  • $\begingroup$ I cannot get anything even from --debug-all $\endgroup$ – rob Jan 4 at 10:00
  • 2
    $\begingroup$ Seems like this is not exposed to Python API. What are you trying to do? Maybe there are workarounds or other methods to do it. $\endgroup$ – Martin Z Jan 16 at 14:25
  • $\begingroup$ First of all, thank you for your reply! I am trying to run blender from a terminal in background mode (.blend file is not specified in advance or stored on disk - i create it on the fly), and than I change render to LuxCore in that script. I want to also be able to automatically change the "Pass" value, since I only need to render one AOV that is offered by BlendLuxCore API. Do you maybe have an idea, how to resolve that? $\endgroup$ – pro Jan 16 at 14:32
  • 1
    $\begingroup$ Appears to be multilayer_pass as index but read only. $\endgroup$ – Ratt Jan 16 at 14:47
  • $\begingroup$ hi Ratt - is it possible to modify the code and recompile somehow to be able to modify the value? otherwise i am generally speaking not sure if it makes sense to be read only if the value is accessible via GUI? $\endgroup$ – pro Jan 16 at 14:55

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.