Ipo doc correction thanks to kempoller

This commit is contained in:
2007-07-05 11:28:11 +00:00
parent fced2b2471
commit cff039bc58

View File

@@ -16,10 +16,10 @@ Example::
ob = Ipo.Get('ObIpo') # retrieves an Ipo object
ob.name = 'ipo1' # change the Ipo's name
icu = ipo[Ipo.OB_LOCX] # request X Location Ipo curve object
icu = ob[Ipo.OB_LOCX] # change here ipo to ob
if 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 curve
ob[Ipo.OB_LOCX] = None # change here icu to ob
Each type of Ipo has different types Ipocurves. With the exception of Shape
Key Ipos, constants are used to specify all Ipocurves. There are two ways