This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/python/api2_2x
Nathan Letwory 47345cfd78 === Blender Python API ===
After some discussion with Campbell, changed the way cstruct sizeof is fetched.

Moved DataSize() to Blender.Types.CSizeof(Blendertype). Supported types return sizeof(data struct), otherwise -1.

To quickly check what types are supported:

import Blender.Types as bt
x = dir(bt)
for t in x:
	if t[0] != '_':
		s = 'bt.CSizeof(bt.' + t + ')'
		print t,"=", eval(s)
2008-10-20 12:33:31 +00:00
..
2008-10-20 12:33:31 +00:00
2008-08-01 23:39:52 +00:00
2008-09-20 10:30:10 +00:00
2008-09-14 12:41:42 +00:00
2008-04-28 00:40:38 +00:00
2007-08-29 03:09:22 +00:00
2008-10-11 12:17:16 +00:00
2008-09-19 12:33:17 +00:00
2008-09-20 10:30:10 +00:00
2008-07-26 10:45:11 +00:00
2008-10-20 12:33:31 +00:00
2008-09-05 02:53:12 +00:00
2008-09-05 02:53:12 +00:00
2008-10-20 12:33:31 +00:00
2008-09-12 02:23:52 +00:00
2008-09-08 23:39:32 +00:00
2008-10-06 06:10:14 +00:00
2008-06-09 14:04:19 +00:00
2008-10-20 12:33:31 +00:00
2008-10-08 16:37:33 +00:00
2008-09-20 10:30:10 +00:00
2008-10-19 21:39:50 +00:00
2008-08-30 14:32:16 +00:00
2008-09-20 04:37:10 +00:00
2008-10-20 12:33:31 +00:00
2008-08-30 14:32:16 +00:00
2008-08-30 14:32:16 +00:00
2008-09-20 10:30:10 +00:00