Denoising parameters not accessible in Python #52155

Closed
opened 2017-07-22 22:52:55 +02:00 by Steffen Hauser · 5 comments

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.

**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.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @shauser

Added subscriber: @shauser

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2017-07-23 00:45:03 +02:00

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

bpy.context.scene.render.layers[0].cycles.use_denoising
Displaying the path automatically in tooltip or copying it is not supported yet (it's an old to do, see e.g. blender/blender#25746). However the properties are accessible: ``` bpy.context.scene.render.layers[0].cycles.use_denoising ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#52155
No description provided.