@Geordie Forgotten to mention but it does not seems to be working, fyi
On Monday, August 29, 2016 at 10:07:01 PM UTC-7, Geordie Martinez wrote: > > whoops. forgot markdown. > > import maya.cmds as mc > > sel = list(set([x for x in mc.listRelatives(mc.ls(assemblies=True), ad=True, > type='transform') if not mc.listRelatives(x,type="shape")]))print sel > > > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a36cc612-7c50-419b-99a1-e2ce814357a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.