Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 27-02-2006 , 05:30 PM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095

rename duplicated object without selecting it

I´m new to scripting and have one simple question. could not find anything in the command ref. when duplicating an object, is there a way where I can rename this newly created object within the same command? I mean nothing like picking the new object with a new command, cause I can´t know how maya will name it.. like ->

duplicate polyToSubd1 ;
// Result: polyToSubd4 //
rename "polyToSubd4" "tmp_side1";

but ->

duplicate polyToSubd1 [-rename duped result "tmp_1"] ;


thx in advance!

# 2 27-02-2006 , 05:32 PM
Falott's Avatar
Registered User
Join Date: Jan 2005
Location: vienna
Posts: 1,095
sry! stupid me!

(the flag is -n)

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