Public feed
#604364
from http://members.optusnet.com.au/cjbarton/BPY_API/Ipo-module.htmlcurrent:from Blender import Ipoob = Ipo.Get('ObIpo') # retrieves an Ipo objectob.name = 'ipo1' # change the Ipo's nameicu = ipo[Ipo.OB_LOCX] # request X Location Ipo curve objectif icu != None and len(icu.bezierPoints) > 0: # if curve exists and has BezTriple points val = icu[2.5] # get the curve's value at time 2.5 icu[Ipo.OB_LOCX] = None # delete the ipo curveshould be:from Blender import Ipoob = Ipo.Get('ObIpo') # retrieves an Ipo objectob.name = 'ipo1' # change the Ipo's nameicu = ob[Ipo.OB_LOCX] # request X Location Ipo curve objectif icu != None and len(icu.bezierPoints) > 0: # if curve exists and has BezTriple points val = icu[2.5] # get the curve's value at time 2.5 ob[Ipo.OB_LOCX] = None # delete the ipo curve