# Python: proportional editing vertex move

I'm new to scripting in blender. Is there a way to proportional-edit a vertex through python?

I want translate a vertex along z, with all vertexes between that and local_Z=0 moving accordingly like they would in proportional editing

This is a graphical representation:

• Doesn't seem to be working. I just get the dreaded: convertViewVec: called in an invalid context whenever I try using a function like this in my script: bpy.ops.transform.translate(value = vtrans, constraint_axis=(False, False, False), ... – tod doeh Feb 4 '19 at 17:15