Posted: Fri Dec 15, 2006 10:35 pm
Joined: 15 May 2004
Posts: 2
hello,
I am having a bit of a trouble using python api to access ipo curves. example:
| Code: |
| 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)
Posted: Mon Dec 18, 2006 10:37 am
Joined: 22 Aug 2006
Posts: 45
I think SizeX was recently renamed to ScaleX to avoid confusion when DimX was added to the transform properties.
Posted: Mon Dec 18, 2006 3:08 pm
Joined: 15 May 2004
Posts: 2
Thanks for your help, it works now ... i would have never thought the solution could be so simple