Hi, all.
I’m trying to scale an existing UV map for currently selected object, the log window suggest the following:
bpy.ops.uv.select_all(action='TOGGLE')
bpy.ops.transform.resize(value=(20, 20, 20), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1)
However, this works when I hover over the UV map, when I run it as a script with blender running in background, it scales the object instead.
Can it be solved?
Thanks,
Denis.