use pymel  :)

On Feb 6, 2009, at 1:25 PM, yury nedelin wrote:

> let say
>
> mc.select(clear=1)
> print mc.ls(sl=1)
> >>None
>
> I have to check if its "None" or a list if I want to do a For loop  
> anything else with the List
>
> Are there better ways than checking  >> if "None" >> all the time ?
>
> Thanks
> Yury
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to