[Bf-python] python edit mode limitation?

Campbell Barton ideasman42 at gmail.com
Sat Jun 12 19:45:15 CEST 2010


# should work in blender 2.4x and 2.5x
scene.objects.active = obj_armature

On Sat, Jun 12, 2010 at 6:19 PM, Bassam Kurdali <bkurdali at freefac.org> wrote:
> Hi all, was hoping someone could answer this question:
> armature editbones are only available in edit mode- the data structure
> simply does not exist till then. this raises a problem:
>
> while the api can turn on edit mode, I can find no way to (from py) make
> an object active to edit. If I'm right, there is no way to edit an
> unselected armature (and possibly other object types).
>
> I can hink of two solutions:
>
> 1-api to set active
>
> 2-api to create the edit structure of an object directly, without having
> to select it first.
>
> naturally, I'm aware focus is on bugfixes, but wanted to know what the
> other bpythonistas thoughts on the issue, and indeed if there is a way
> to do this already.
>
> cheers
> Bassam
>
> ps. please read and answer! this list is far too quiet :)
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
>



-- 
- Campbell



More information about the Bf-python mailing list