SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

SM Forums / Maya Questions / Programming / Creating, Renaming and Assigning Material MEL/Python script

Programming MEL Scripts, Expressions & Programming Related Topics

Join the conversation. Reply to post
Thread Tools
31-05-2021, 04:50 AM   #1
Registered User
Join Date: May 2021
Posts: 1
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.

Attached Thumbnails
Click image for larger version

Name:	Materials_Creation_n_Assigning.jpg
Views:	39
Size:	246.1 KB
ID:	58104  

Last edited by DigitalShamans; 31-05-2021 at 04:54 AM.
  Reply with quote