Is there a way to select specific vertices (control points) on a nurbs surface? I'm working with a Nurbs Surface Circle, and want to select the highlighted vertices with Python.
I see this answer for mesh
As well as this answer for nurbs curve, but am not quite able to get it working. Here is my code thus far:
def execute(self, context):
bpy.ops.surface.primitive_nurbs_surface_circle_add()
bpy.ops.object.editmode_toggle()
bpy.ops.curve.subdivide()
bpy.ops.curve.select_all(action = 'DESELECT')
return {'FINISHED'}