Re: [Maya-Python] List/Print maya group content names

2015-06-19 Thread Kurian O.S
cmds.listRelatives(cmds.ls(sl=True)[0], ad=True, type="mesh") it will give you all the mesh under your selection On Fri, Jun 19, 2015 at 2:51 PM, wrote: > I'm in need of a method to print out the names of the geometry in a > selected group node. Any ideas? Even if it is inside another group or >

Re: [Maya-Python] List/Print maya group content names

2015-06-19 Thread Justin Israel
You could list all of the descendants of your selected object, and then filter that result by just geometry: cmds.ls(cmds.listRelatives(allDescendents=True), geometry=True) On Sat, Jun 20, 2015 at 10:22 AM wrote: > I'm in need of a method to print out the names of the geometry in a > selec

[Maya-Python] List/Print maya group content names

2015-06-19 Thread brianbuckles3d
I'm in need of a method to print out the names of the geometry in a selected group node. Any ideas? Even if it is inside another group or complex group hierarchy. Example. I select a group node "Heart", print the names of the geo in this group. -Brian -- You received this message because you