Featured post

new redirect for blender.org bpy docs.

http://www.blender.org/api/blender_python_api_current/ As of 10/11 november 2015 we can now link to the current api docs and not be worr...

September 12, 2012

Making a python Object with attributes, (pythonic? i don't think so)

Pretty neat? here's a test of the getatrribute() and setattr() methods of an object. The danger of objects is from my experience that it can cause uglier less comprehensible code. Generally the same code effect is written using a dictionary and keys with less code.

No comments:

Post a Comment

Please use Blender.StackExchange.com for python scripting questions unrelated to this post.