display all propertys of property group

hi,
i’ve got the following situation:
ive got property groups that all inherit from a base class. now i want to show the properties from those property groups in a panel. without changing my gui everytime i add a new property group with new properties…

idea’s:

  1. is there a function in layout to show a prop groep (i’ve try but not succeded)
  2. is there a way to list the propertys in a prop group? because if there is, then i can loop over those prop and display them…

Couldn’t you just use dir(myVar) to get them into a string, then parse the string…?


s = dir(bpy)
print(s)

result


['__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'app', 'context', 'data', 'ops', 'path', 'props', 'types', 'utils']

thats a great idea, i can filter all the ones out that i don’t want to display and show the rest…

you may have a look at this:
http://wiki.blender.org/index.php/User:Mont29/Dev/UI_Template_List_Enhancement