Hey Sylvian - I know it's frustrating, but we're working on same
changes to we handle components at the moment... so sit tight.

- Paul

On Thu, Apr 9, 2009 at 6:31 AM, sberger <[email protected]> wrote:
>
> Hi, I am having a bit of trouble processing component lists, I often
> end up in my code with a list of component list... parssing this list
> to other function often prove problematic. For example passing a list
> of componentList to the select() function fails.
>
> Is there a trick in pymel to cocatenate component list of the same
> mesh into one component list?
>
> repro example:
> import pymel as pm
> cube, hist = pm.polyCube()
> vtxList = [cube.vtx[0:1], cube.vtx[3:4]]
> print vtxList
>
> # the next line fails
> pm.select(vtxList, r=True)
>
> # but this will work...because I have only one component list
> vtxList = cube.vtx[0:1,3:4]
> print vtxList
> pm.select(vtxList, r=True)
>
> Thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to