Thank you for the
enlightenment Stephen and Phil… and Stephen!
From:
owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Stephen Blair
Sent: Tuesday, November 20, 2007
5:05 PM
To: XSI(at)Softimage.COM
Subject: RE: [scripting]
Overwriting the Hair PositionArray?
Outside of a scop, you can modify the PositionArray only on a frozen
object.
From:
owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Stephen Blair
Sent: Tue 20 November 2007 4:53 PM
To: XSI(at)Softimage.COM
Subject: RE: [scripting]
Overwriting the Hair PositionArray?
You can modify
the PositionArray only on a frozen object.
Hair is generated so
it cannot be frozen.
Try connecting a scripted op on the hair
primitive (as input and output).
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of
Vincent Fortin
Sent: Tue 20 November 2007 4:41 PM
To: XSI(at)Softimage.COM
Subject: [scripting] Overwriting
the Hair PositionArray?
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