Here is a the code cleaned up.  Thanks again!  Don.

http://pastebin.com/HYHtziTt





On Tuesday, November 6, 2012 3:57:26 PM UTC-8, Justin Israel wrote:
>
> Happy to help!
>
> Couple things you might want to correct in your latest pastebin. 
>
> Your create method takes a setList variable but you are actually 
> referencing that global list you make at the bottom and ignoring what you 
> pass in:
>
>     for i in setnames:
>
> Should be:
>
>     for i in setList:
>
> The other two things are super minor, at the bottom. The split() isn't 
> doing anything since it would require you assigning the results to 
> something. And you probably don't need to split on a comma anyways anymore. 
> Also, try to avoid using variable that shadow the builtin objects. "set" is 
> a built in container type. 
>
>
>
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to