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$
1
  • $\begingroup$ Could you share the script you have so far? $\endgroup$
    – stacker
    Nov 7, 2014 at 20:24

1 Answer 1

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$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .