RE: [scripting] Overwriting the Hair PositionArray?

Date : Wed, 21 Nov 2007 08:10:33 -0500
To : <XSI(at)Softimage.COM>
From : "Vincent Fortin" <vincent.fortin(at)ubisoft.com>
Subject : RE: [scripting] Overwriting the Hair PositionArray?

Oh dear, what about a nice scop of tea?

 


From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of peter boeykens
Sent: Tuesday, November 20, 2007 5:17 PM
To: XSI(at)Softimage.COM
Subject: Re: [scripting] Overwriting the Hair PositionArray?

 

perhaps to protect from ugly haircuts...

sorry, not very helpfull is it?

 

Is it possible?

I get an “access denied” whatever I try…

 

// JSCRIPT

var oObj = selection(0);

var aPos = oObj.ActivePrimitive.Geometry.Points.PositionArray.toArray();

FreezeObj(oObj);

oObj.ActivePrimitive.Geometry.Points.PositionArray = aPos;

 

Thanks,

Vincent


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.