ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例. 
      
       connectionInfo(
string
    , [destinationFromSource=boolean], [getExactDestination=boolean], [getExactSource=boolean], [getLockedAncestor=boolean], [isDestination=boolean], [isExactDestination=boolean], [isExactSource=boolean], [isLocked=boolean], [isSource=boolean], [sourceFromDestination=boolean])  
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
      connectionInfo は、取り消し可能、照会不可能、および編集不可能です。
      connectionInfo コマンドは、接続元と接続先の情報を得るために使用します。isConnected コマンドとは異なり、このコマンドでは接続一端のみが必要です。
	  
      
      | boolean | 使用しているフラグによって、プロパティを問い合わせる場合。 | 
| string | プラグ名を問い合わせる場合。 | 
| string[] | プラグのリストを問い合わせる場合。 | 
      
      connectAttr, isConnected, listConnections
      
    
      destinationFromSource, getExactDestination, getExactSource, getLockedAncestor, isDestination, isExactDestination, isExactSource, isLocked, isSource, sourceFromDestination
      
      
		
		  
			|  フラグはコマンドの作成モードで表示できます |  フラグはコマンドの編集モードで表示できます | 
		  
			|  フラグはコマンドの照会モードで表示できます |  フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。 | 
		
import maya.cmds as cmds
#    Create a sphere and a cone and make the Z translation of the cone
#    be dependent on the X translation of the sphere.
#
cone = cmds.cone()
sphere = cmds.sphere()
sphereTx = '%s.tx' % sphere[0]
coneTz = '%s.tz' % cone[0]
cmds.connectAttr(sphereTx, coneTz)
#    Verify the connection and print out the source plug.
#
if cmds.connectionInfo( coneTz, isDestination=True):
  print( 'Source: %s' % cmds.connectionInfo(coneTz,sourceFromDestination=True) )
#    Verify the connection and print out the destination plug.
#
if cmds.connectionInfo( sphereTx, isSource=True):
  destinations = cmds.connectionInfo(sphereTx, destinationFromSource=True)
  for destination in destinations:
    print destination