You don't need to use a flag to get what you are looking for. Just pass in
the "node.attr" you are interested in querying, rather than just the "node".

Ex:
cmds.listConnections( "blinn1.color" )

You can use various command flags to filter the return.

On Thu, May 31, 2012 at 9:56 PM, Panupat Chongstitwattana <
[email protected]> wrote:

> For example, if I want to get the input connection of blinn1.Color only,
> what would be the flag I need?
>
> Thanks.
>
> --
> 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

Reply via email to