RE: [scripting] Scripted OP - Deform grid with particles

Date : Tue, 5 Feb 2008 09:15:14 -0500
To : <XSI(at)Softimage.COM>
From : "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
Subject : RE: [scripting] Scripted OP - Deform grid with particles
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.
 
 

 

 


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.