0
$\begingroup$

in v2.79 the following works:

bpy.context.space_data.grid_scale = 0.25
bpy.ops.view3d.snap_selected_to_grid()

but v2.8 doesn't know bpy.context.space_data.grid_scale

What is the equivalent command in v2.8?

many thanks, Smooth

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.