Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The behavior of removeMultiInstance command?

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
243 Views, 0 Replies

The behavior of removeMultiInstance command?

When I execute below 2 lines at once, ramp1.colorEntryList[1] is not removed.

but, when I excute one by one, it success.

 

string $texName = `shadingNode -asTexture ramp`;
removeMultiInstance ($texName + ".colorEntryList[1]");

 

In the script editor, there is no error nor warning message.

And I can't discriminate which the message "result : 0" in the script editor(Echo All Commans) indicates that removeMultiInstance has trouble.

 

I want to generate and remove .colorEntryList[n] at once.

How I can remove colorEntryList[1] smoothly?

 

(My version : Maya 2014 SP2)

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report