# how to make the separated vertex is the active object after separation with python?

I am trying to make a simple script but I have a problem,the problem is when I separate some vertex from my mesh and go to object mode the active object is the unselected vertex,so how to make the separated vertex is the active object after separation with python?

• Could you share the script you have so far? – stacker Nov 7 '14 at 20:24

so = bpy.context.scene.objects