Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 26-03-2015 , 03:13 PM
Registered User
Join Date: Mar 2015
Posts: 5

Script to extrude multiple objects

Hi I ma trying to extrude multiple objects in the Y axis using Mel.

I have so far ->

extrude -ch true -rn false -po 1 -et 0 -upn 0 -d 0 1 0 -length 4.4295 -rotation 0 -scale 1 -dl 1 transform1;

I thought if i did a simple for loop ->

string $curvename = "transform1";
string $sel[] = `ls -sl`;
for($eachcurve in $sel)
{
extrude -ch true -rn false -po 1 -et 0 -upn 0 -d 0 1 0 -length 4.4295
-rotation 0 -scale 1 -dl 1 $curvename $eachcurve;
};

But what happens is it only extrudes one object.
screen shot below.

I know i can do it with lots of one liners but i want to do it all at once.

Any help would be appreciated

Attached Thumbnails
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads