same to Victoras,
cmds.ls("*parentConstraint*", r= True)
should work
On Jan 19, 8:53 am, Paul Molodowitch <[email protected]> wrote:
> That's just the way the wildcard expansion was designed - a "*" won't match
> a ":"
>
> - Paul
>
> On Wed, Jan 19, 2011 at 8:49 AM, ranxerox <[email protected]> wrote:
> > hey all, another stupid question... I have some objects in a file
> > named with a semicolon in them (due to namespaces I suppose).
> > Strangely these objects don't appear to match correctly when using
> > wildcards. As an example.. say I have an object name
> > "rbd_geo_group:bottle02_parentConstraint", if I type
> > cmds.ls("*parentConstraint*") it isn't found. In order for this
> > object name to be returned I have to type
> > cmds.ls("*:*parentConstraint*").. does this make any sense to
> > anybody ?
>
> > thanks
>
> > -G
>
> > --
> >http://groups.google.com/group/python_inside_maya
>
>
--
http://groups.google.com/group/python_inside_maya