0
$\begingroup$

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?

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

Maybe this will lead you to the solution:

so = bpy.context.scene.objects
so.active = o2
for obj in so:
    obj.select = (obj==o2)
$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.