ok got it to work another way
like you’v shown
at beginning i had theses
NewCurve1 = Curve.New( ‘Curvebevel’ )
CurveOb1 = scn.objects.new( NewCurve1 )
so by putting the object name it work fine CurveOb1
like this one here -
NewCurve.setBevOb(CurveOb1) # set the bevel curve
one problem :
but that still does not explain why in the first case it is able to convert from the name to the object name ( from bev1 to CurveOb1 )
there is a conversion done that i don’t understand how it is done in one case but not in the other case ?
passing the name through a list and it’s ok
but directly it does not do the conversion!
sorry i’m trying to have a better understanding of theses conversion
which in this case seems a little strange!
also i look at the 2.5 API and seems that everything ahs been change for other names
and that all script will hve to be re written
have you seen any doc or tut on this yet ?
Thanks for the help