Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 31-05-2021 , 04:50 AM
Registered User
Join Date: May 2021
Posts: 2

Creating, Renaming and Assigning Material MEL/Python script

Hi there,

I am in need of a MEL/Python script which would make these few steps:

Create a new Lambert material with the name of an object to which it will be assign to.
The name would have to have removed the first character and suffix _lp or/and _gm.

Ideally it would work with multiple objects selected creating adequate number of assigned materials to corresponding objects.

Thanks for any help.
If you are interested in making paid MEl/Python scripts please contact me or reply in this topic.

Cheers,
DS

Attached Thumbnails

Last edited by DigitalShamans; 31-05-2021 at 04:54 AM.
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