Page MenuHome

Info window reports non existent python commands for Cycles data
Confirmed, NormalPublicKNOWN ISSUE

Description

System Information
Operating system: Windows-10-10.0.17134-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86

Blender Version
Broken: version: 2.83 (sub 2), branch: master, commit date: 2020-01-30 11:04, hash: rB2142288eae73
Worked: (optional)

Short description of error
Info window reports non existent python commands, for example when enabling material cryptomatte by clicking on it in the UI this is reported in the info window:

bpy.context.scene.use_pass_crypto_material = True

Should be this:

bpy.context.view_layer.cycles.use_pass_crypto_material = True

tooltip shows this (which is useless at the best of times thanks to it being shortened):

suggested code results in :

AttributeError: 'Scene' object has no attribute 'use_pass_crypto_object'

How can we ensure the correct information is being shown in the info? Perhaps also a good idea to stop shortening the pyrhon commands in the tooltip. Shift f1 would also be good to use to take the user to the relevant index of pages in the online API documentation.

I think you should consider throwing some paid work at Cristian Hasbun to get the coding interface up to scratch. He did a presentation at this years conference, the WEED integrated IDE. He's not been able to put much work into it recently due to financial obligations (had to take a job as a kite surfing instructor)

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Feb 5 2020, 7:55 PM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Known Issue".

Can confirm, T68050: Online Manual / Online Python reference fails for anything related to CyclesRenderSettings is tightly related.

Path generation is sometimes tricky (can fail for nodes in certain situations as well).
For now though, I will keep the reports isolated to Cycles data, see this comment also:

..., this is a current limitation of the system, Cycles data is generated through python API, i.e. those are not 'real' RNA structures. Addressing this issue will require design and development work.

Philipp Oeser (lichtwerk) renamed this task from Info window reports non existent python commands to Info window reports non existent python commands for Cycles data.Feb 5 2020, 7:56 PM
Campbell Barton (campbellbarton) added a project: Restricted Project.