[Bf-python] show list in a panel
Campbell Barton
ideasman42 at gmail.com
Wed May 18 04:43:54 CEST 2011
Add the script template "Panel Simple", replace its draw() function
with this one.
"context.selected_objects" can be replaced by any list of objects you have.
also, can you please stop mailing bf-committers about python questions.
----
def draw(self, context):
layout = self.layout
for obj in context.selected_objects:
layout.prop(obj, "name")
2011/5/17 Yuniel Castro González <ycastrog at estudiantes.uci.cu>:
> Hi for all.
> In a scene I have a group of objects and some of them are selected, I need to make a script that can be displayed in a panel the name of the list object_selected
> How can I do?
> Thanks in advance.
More information about the Bf-python
mailing list