[Bf-committers] getting class properties without creating objects

shuvro sarker shuvro05 at gmail.com
Tue May 18 08:26:36 CEST 2010


I want to get the properties of an BPI class *without creating instances of
it*.
e.g. for **bpy.types.SpotLamp class I want to extract the properties like
auto_clip_end,auto_clip_start,compression_threshold, ... etc. with the
blender python api.
How can it be done with blender python API?

I have tried *inspect* module of python.
inspect.getmembers(obj) does the job. But it takes object as argument, which
I don't want.

Please show me a way for doing that.

Shuvro


More information about the Bf-committers mailing list