import maya.cmds as cmds
lookingForGizmo = cmds.ls('Gizmo_*', g = True, ap = True)On Wed, Aug 22, 2012 at 7:02 AM, Florian Croquet <[email protected]> wrote: > Thank you smann, > > The command work in mel. But I don't know how to properly translate that > in python :/ > I tried : > > import maya.mel as mel > lookingForGizmo = mel.eval("ls -g -ap 'Gizmo_*' ; ") > > Obviously I have a Syntax error > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
