I am having a bit of a trouble using python api to access ipo curves. example:
Code: Select all
c = ipo.addCurve('SizeX')
and blender returns error: NameError: curve name is not valid. ipo is of course Ipo object of type Object. The funny thing is that it works for curve name 'LocX' for example. according to the api specification 'SizeX' is a valid curve name or am i missing something here?
I am using blender 2.42a on OSX (python 2.3)