Message 1 of 2
Get list of root geo instances?

Not applicable
08-14-2012
03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there, I need to get a list of root geo instances out of maya, e.g. i have 3 instances of 'pSphere1' each with its own individual transform and i want a way to find a list of root geometry in the scene
So far is i do
i get something like this:
but thats not all that useful without a lot of parsing
does anyone know of a good solution
jt
So far is i do
cmds.ls(typ='mesh')
i get something like this:
pSphere2|pSphereShape1
pSphere4|pSphereShape1
but thats not all that useful without a lot of parsing
does anyone know of a good solution
jt