Cycles particle hair settings

When I adjust Root size under Thickness of Cycles hair particle settings, the info editor says this just happened:

bpy.context.object.root_width = 0.97

This is not what just happened. Does anyone know how to actually adjust Cycles hair settings via python? Thanks.

This one was easy. I get mixed up sometimes. You want the particle system:

bpy.data.particles[‘someParticleSystem’]

Then:

.cycles

Then whatever value you want to change, so:

bpy.data.particles[‘someParticleSystem’].cycles.root_width

How this boils down to “bpy.context.object” in the info editor is beyond me, but that’s how to adjust the values via Python.