PDA

View Full Version : name extrusion - quick q


pbarnes
08-27-2008, 02:52 PM
i have this code
extrude -ch true -rn false -po 0 -et 2 -ucp 1 -fpt 1 -upn 1 -rotation 0 -scale 1 -rsp 1 "shapeProfile" "Line1";
i want to name this extrusion at creation so its not extrudedSufrace1 or whatever default value is assigned there
i tried -n "NAMEHERE";
but -n is not a valid flag for the operation.
i look through F1 commands and found no naming method there

cheers

NaughtyNathan
08-27-2008, 03:35 PM
well that's weird because in my MEL docs, the extrude has a -n flag, and if I type:

help extrude;

in the script Editor it says:

...
-n -name String
...

:)

make sure you're not putting the -n flag in the wrong place (i.e. after the object parameter(s))

:nathaN

pbarnes
08-27-2008, 04:58 PM
ahh... i added it and when i ran the script it said it was an invalid flag
i must have just missed that flag but i thought i had done a page search for name

make sure you're not putting the -n flag in the wrong place (i.e. after the object parameter(s))
may be this was the problem i will try placing it before the parameters but i though i had done this

cheers

EDIT::::Cheers it works

CGTalk Moderation
08-27-2008, 04:58 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.