On Tue, Nov 2, 2010 at 2:31 PM, Martin Poirier <the...@yahoo.com> wrote:

> def fun():
>  class NewPropertyGroup(bpy.types.IDPropertyGroup):
>    pass
>
>  bpy.types.Scene.new_property = PointerProperty(type=NewPropertyGroup, 
> name="Stuff", description="Fun New Stuff")
>
>  NewPropertyGroup.name = StringProperty(
>                  name="Name",
>                  description="Name of something",
>                  maxlen = 128,
>                  default = "")
>
>  # and so on

That's no good for when the properties are being determined
dynamically though, right? I'm talking about from an external data
source (in this case, querying a shader file for the relevant
parameters that are exposed by it).

Matt
_______________________________________________
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to