Instead of doing a.GetFloatProp('foo'), feel free to use a.foo. a.foo = 3.0 will create a new float property 'foo'. This commit is brought to you by ZSO Pilatus