GetClosestLocationsWithinRadius is a method of the
Geometry object
Points is a
PointCollection
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Fabrice
Altman
Sent: Tue 05 February 2008 8:19 AM
To:
XSI(at)Softimage.COM
Subject: [scripting] Scripted OP - Deform grid with
particles
Hi
list,
this is my first
attempt at scripted ops so bear with me.
I'm trying to deform
a grid with particles ( something that will hopefully be trivial with MoonDust
...)
I'm at the stage
where I know my particle position but need to compare them with my grid
points.
So I'm guessing,
that I need something along the lines of :
PointLocator =
InPolyg.Value.Geometry.Points.GetClosestLocationsWithinRadius(myParts,
0.1)
Not sure if
"GetClosestLocationsWithinRadius" is the right route to go but I get
:
ERROR : Object
doesn't support this property or method
whenever I
try using it. Bit stuck here basically....
Thanks for
advice,
F.