Maniphest T52155

Denoising parameters not accessible in Python
Closed, Archived

Assigned To
Brecht Van Lommel (brecht)
Authored By
Steffen Hauser (shauser)
Jul 22 2017, 10:52 PM
Tags
  • Add-ons (BF-Blender)
  • Cycles
Subscribers
Brecht Van Lommel (brecht)
Steffen Hauser (shauser)

Description

System Information
Ubuntu 16.04

Blender Version
blender-2.79-testbuild2-linux-glibc219-x86_64

Short description of error

Setting new denoising parameters in Python raises an AttributeError

bpy.context.scene.use_denoising = True

Traceback (most recent call last):
File "<blender_console>", line 1, in <module>
AttributeError: 'Scene' object has no attribute 'use_denoising'

Exact steps for others to reproduce the error

  • Switch UI parameter "Denoising" on
  • Copy Python command from log window
  • Paste Python command in Python console

Other denoising parameters aren't accessible as well.

Event Timeline

Steffen Hauser (shauser) created this task.Jul 22 2017, 10:52 PM
Steffen Hauser (shauser) updated the task description.
Brecht Van Lommel (brecht) changed the task status from Unknown Status to Unknown Status.EditedJul 23 2017, 12:45 AM
Brecht Van Lommel (brecht) claimed this task.
Brecht Van Lommel (brecht) added a subscriber: Brecht Van Lommel (brecht).

Displaying the path automatically in tooltip or copying it is not supported yet (it's an old to do, see e.g. T25746). However the properties are accessible:

bpy.context.scene.render.layers[0].cycles.use_denoising