Re: [scripting] Overwriting the Hair PositionArray?

Date : Tue, 20 Nov 2007 23:16:42 +0100
To : <XSI(at)Softimage.COM>
From : "peter boeykens" <peter_b(at)skynet.be>
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.