create cluster nulls on curve script

2013-09-18 Thread john clausing
howdy all,

this is probably an easy one.
i have multiple curves, and for each curve, i want to create a cluster with 
center at each (sequential) point along that curve.

got lots of curves and could use a script.

anyone know of one? i seem to rember seeing..

thanks,

john--
To unsubscribe: mail softimage-requ...@listproc.autodesk.com with subject 
unsubscribe and reply to the confirmation email.

Re: create cluster nulls on curve script

2013-09-18 Thread Alok Gandhi
Remember to disable logging manually or via script to run faster



On Wed, Sep 18, 2013 at 4:54 PM, Alok Gandhi alok.gandhi2...@gmail.comwrote:

 [Application.CreateClusterCenterWithNull(point.Subcomponent, 0) for curve
 in list(Application.Selection) for point in
 curve.ActivePrimitive.Geometry.Points]



 On Wed, Sep 18, 2013 at 4:23 PM, john clausing jclausin...@yahoo.comwrote:

 howdy all,

 this is probably an easy one.
 i have multiple curves, and for each curve, i want to create a cluster
 with center at each (sequential) point along that curve.

 got lots of curves and could use a script.

 anyone know of one? i seem to rember seeing..

 thanks,

 john


 --
 To unsubscribe: mail softimage-requ...@listproc.autodesk.com with
 subject unsubscribe and reply to the confirmation email.




 --




--
--
To unsubscribe: mail softimage-requ...@listproc.autodesk.com with subject 
unsubscribe and reply to the confirmation email.

Re: create cluster nulls on curve script

2013-09-18 Thread Eric Thivierge
**WARNING**   EXCESSIVE USE OF LIST COMPREHENSION  **WARNING**

:P Just kidding

On September-18-13 4:55:39 PM, Alok Gandhi wrote:
 Remember to disable logging manually or via script to run faster



 On Wed, Sep 18, 2013 at 4:54 PM, Alok Gandhi
 alok.gandhi2...@gmail.com mailto:alok.gandhi2...@gmail.com wrote:

 [Application.CreateClusterCenterWithNull(point.Subcomponent, 0)
 for curve in list(Application.Selection) for point in
 curve.ActivePrimitive.Geometry.Points]



 On Wed, Sep 18, 2013 at 4:23 PM, john clausing
 jclausin...@yahoo.com mailto:jclausin...@yahoo.com wrote:

 howdy all,

 this is probably an easy one.
 i have multiple curves, and for each curve, i want to create a
 cluster with center at each (sequential) point along that curve.

 got lots of curves and could use a script.

 anyone know of one? i seem to rember seeing..

 thanks,

 john


 --
 To unsubscribe: mail softimage-requ...@listproc.autodesk.com
 mailto:softimage-requ...@listproc.autodesk.com with subject
 unsubscribe and reply to the confirmation email.




 --




 --


 --
 To unsubscribe: mail softimage-requ...@listproc.autodesk.com with subject 
 unsubscribe and reply to the confirmation email.

--
To unsubscribe: mail softimage-requ...@listproc.autodesk.com with subject 
unsubscribe and reply to the confirmation email.