Skip to content

Instantly share code, notes, and snippets.

@groakat
Created February 23, 2016 23:00
Show Gist options
  • Save groakat/ab8e9a6e6e2b2acd19d4 to your computer and use it in GitHub Desktop.
Save groakat/ab8e9a6e6e2b2acd19d4 to your computer and use it in GitHub Desktop.
print properties of blender objects
def dump(obj):
for attr in dir(obj):
if hasattr( obj, attr ):
print( "obj.%s = %s" % (attr, getattr(obj, attr)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment