Ahh I always accidentally link to the main index when I paste maya doc links, 
because they freaking use frames. And then it looks like I'm just being snooty 
like "go read the docs". 
I really meant to be helpful with: 
http://download.autodesk.com/global/docs/maya2012/en_us/CommandsPython/listConnections.html

:-)


On May 31, 2012, at 11:19 PM, Panupat Chongstitwattana <[email protected]> 
wrote:

> Thanks Justin :)
> 
> On Fri, Jun 1, 2012 at 12:36 PM, Justin Israel <[email protected]> wrote:
> http://download.autodesk.com/global/docs/maya2012/en_us/CommandsPython/index.html
> 
> default gives you both source and dest connection object names (without attr 
> names)
> 
> 
> 
> On May 31, 2012, at 10:13 PM, Judah Baron wrote:
> 
>> 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
> 
> -- 
> 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

-- 
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