[Bf-committers] after duplicate

Jacob F. queatz at gmail.com
Mon May 16 20:01:56 CEST 2011


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 = True

2011/5/16 Yuniel Castro González <ycastrog at estudiantes.uci.cu>

> 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
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list