simple python script giving unexpected results I have 250 curves in my scene and I need to apply the same extrude and bevel geometry to all the them.
I am running this script
import bpy
for obj in bpy.context.selected_objects:
    if obj.type == 'CURVE':
        obj.data.extrude = 0.005
        obj.data.bevel_depth = -0.002
        obj.data.bevel_resolution = 4

but when I run it it results in a bevel of &quot;0.197&quot; and a depth of &quot;-0.787&quot;
the bevel resolution works correctly.
Can anyone explain why this might be happening? Thanks!
I am working in inches for this project and had to convert the numbers to meters. I had to use the following to get the desired amounts
import bpy
for obj in bpy.context.selected_objects:
    if obj.type == 'CURVE':
        obj.data.extrude = 0.000127
        obj.data.bevel_depth = -0.0000508
        obj.data.bevel_resolution = 4