Juan's is probably better - but here's one I created a while back:


#To Use: 
# 1) Select the curves you want to extrude along.
# 2) Run script
# 3) Pick the profile curve

import win32com
xsi = Application

#collect all curves
extCurves = win32com.client.Dispatch( "XSI.Collection" )
extCurves.AddItems (xsi.Selection)

#pick profile curve
profileCurve = xsi.PickElement ("", "Pick Profile Curve")

#loop through all extCurves and extrude along profileCurve
for i in range (0, extCurves.count):
        xsi.ApplyGenOp("Extrusion", "MeshSurface", str(profileCurve(2)) + ";" + 
str(extCurves(i)), 3, "siPersistentOperation", "siKeepGenOpInputs", "")

Date: Thu, 1 Oct 2015 13:48:50 +0200
Subject: Re: Extrude multiple curve
From: facialdel...@gmail.com
To: softimage@listproc.autodesk.com

Yup ! Thank's a lot ! Not yet tested but thank you :) I'll let you know :)
On Thu, Oct 1, 2015 at 12:41 PM, Juan Brockhaus <juanxsil...@gmail.com> wrote:
btw, I had a .rar file with the scripts attached.
let me know if it didn't get through...



On Thu, Oct 1, 2015 at 12:31 PM, Juan Brockhaus <juanxsil...@gmail.com> wrote:

but I have a script for that.

actually two scripts. one creates polymeshes, the other a nurbs surfaces.

- select all the curves you want to extrude on
- run script
- pick the curve you want to extrude

hope that helps.



On Thu, Oct 1, 2015 at 12:15 PM, Olivier Jeannel <facialdel...@gmail.com> wrote:
Simple one : Do we have something to extrude a curve along multiple curves at 
once (a group of curves or multi selected)?


Reply via email to