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...

July 25, 2013

class properties

here t.seek will return `1200`

2 comments:

  1. t.seek will return something like "bound method dam.seek of __main__.dam object at 0x000000000C0EA390". You have to add parentheses: t.seek().

    ReplyDelete
    Replies
    1. This works in both python 2.7 and 3.x, the @property decorator is there for a reason.

      Delete

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