Creating linear curve method & parenting 2004-02-15 - By Bernard Lebel
Back Ok thanks.
Bernard
-- -- Original Message -- -- From: "kim aldis" <kim@(protected)> To: <XSI@(protected)> Sent: Sunday, February 15, 2004 2:47 PM Subject: RE: [Script] Creating linear curve method & parenting
> Createcurve is returning a collection, the 0 references the first element of > the collection. Same as :- > > var oCurveCollection = createcurve( 1, 0, "(0,0,0),(5,5,5)", false ); > var oCurve = oCurveCollection (0); > > > -- --Original Message-- -- > > From: owner-xsi@(protected) > > [mailto:owner-xsi@(protected)] On Behalf Of Bernard Lebel > > Sent: 15 February 2004 18:35 > > To: XSI@(protected) > > Subject: Re: [Script] Creating linear curve method & parenting > > > > Thanks Graham, that works. > > > > But what is that (0) stands for, so I my understand what it > > does and use it in another context if needed? > > > > > > Thanks > > Bernard > > > > > > > > > > -- -- Original Message -- -- > > From: "Graham D Clark" <mail@(protected)> > > To: <XSI@(protected)> > > Sent: Saturday, February 14, 2004 5:04 PM > > Subject: RE: [Script] Creating linear curve method & parenting > > > > > > > var oLightRig = activesceneroot.addlightrig( "Spot.Preset", > > "Spot_Root" > > > ); > > > var oCurve = createcurve( 1, 0, "(0,0,0),(5,5,5)", false )(0); > > > oLightRig.addchild( oCurve ); > > > -- ---- ---- ---- ---- ---- -- > > > http://www.grahamdclark.com > > --- > > Unsubscribe? Mail Majordomo@(protected) with the following > > text in body: > > unsubscribe xsi > > > > > > > > > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi > --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|