[Bf-committers] access selection order via Python

Ton Roosendaal ton at blender.org
Thu Feb 26 09:59:22 CET 2015


That info is not used by tools in Blender nor is it foreseen to be coded. I also think it's bad practices for tools to require that (especially when it's not visualized and not generic applicable).

There are good ways to go around that. Code it as atomic operators doing incremental steps to create the list or network you need. And visualize that well. 


Ton Roosendaal  -  ton at blender.org   -   www.blender.org
Chairman Blender Foundation - Producer Blender Institute
Entrepotdok 57A  -  1018AD Amsterdam  -  The Netherlands

On 25 Feb, 2015, at 22:49, Martin Pyka wrote:

> Hi,
> I am a developer of an add-on for Blender that allows computational 
> neuroscientists to create artificial neural networks from 3d-anatomical data
> Reference:
> http://journal.frontiersin.org/article/10.3389/fnana.2014.00091/full
> https://bitbucket.org/rub-hippo/parametric-anatomical-modeling
> https://www.youtube.com/watch?v=W-BrAcMUiYI
> For one feature that I want to implement, I need to know the order, in 
> which the user selected the objects. Maybe I missed something very 
> basic, but as far as I can see it, these information are neither 
> available within the Blender UI nor via Python!?
> I think, not only for my purposes it would be very helpful, to have 
> access to the selection order (when more than two objects are selected).
> Is this conceptually very difficult to code? Is there any chance to get 
> that information into one of the next releases?
> Best,
> Martin
> _______________________________________________
> 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