FORUMS: list search recent posts

How to increment names?

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Mostafa Talebi
How to increment names?
on May 27, 2012 at 8:16:14 am

Hello everybody

I have made a conditional to state that
based on the value of the intSlider, add to the current layout colorSliders. So if the value in the int field is 3, add three colorSlider. But it errs, because of naming clash. "that name is not unique...". I have used "colorSliderName" + "##" but it doesn't work. what should I do?

Return to posts index

Steve Sayer
Re: How to increment names?
on May 31, 2012 at 6:23:04 pm

Not sure what the problem is.

You can't name controls explicitly; Maya handles that.

The only flag I see that might be relevant is '-fullPathName,' which will return the full name of the control, including all parents. Perhaps something that you're doing references a control without using its full path name, which causes that error?

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved