That returns a python dict/set {'FINISHED'}.
Duplicating the selected object selects it and makes it active, so you could
do:
bpy.context.object.select = True2011/5/16 Yuniel Castro González <[email protected]> > I have an active object in scene (cube for example) and I execute > duplicate() function > > import bpy > r = bpy.ops.object.duplicate() > > but I'm not execute r.select = True because an error occurs > > 'set' object has no attribute 'select' > > What happens? > > Thanks in advance. > > -- > > > > > > > > > Yuniel > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
