利用者・トーク:Crouch/Properties

提供: wiki
2010年3月27日 (土) 12:44時点におけるwiki>Iluvblenderによる版 (Nice work.. but...)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Nice work.. but...

Hi.

I was trying this out and got an error.

>>> bpy.types.Object.StringProperty("myProperty")
Traceback (most recent call last):
 File "<console>", line 1, in <module>
ValueError: all args must be keywords

Although later on you do use attr="myProperty", I think it would be good to change the former to include attr="myProperty"

Keep up the good work.

iluvblender 03:44, 27 March 2010 (UTC)