THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/04/2010 at 11:44, xxxxxxxx wrote:
Hello all...my first post here. The forum looks like a terrific resource. I'm looking forward to following along.
The reason I've landed here today is because of my quest to script something that seems so simple, but I can't figure it out on my own. I'd call my programming knowledge "intermediate". I suspect it is simple because it is literally one-click on a single spline object. But, in my current project, I have hundreds of splines I need to "flatten" in the y-axis (i.e., the XZ plane).
Of course, the way to do this in the GUI is to simply set the spline object's Y SIZE to zero in the coordinate manager and apply. This essentially averages the Y coordinates for all the spline's points and forces the spline's points to lie within the XZ plane.
It would be a great time saver for me to be able to select numerous spline objects in the object manager and execute a script to "flatten" them all to the XZ plane.
What do you guys think? Maybe I'm missing some obscure function that does this already?
Thanks