Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/g/l/glTools-HEAD/utils/connection.py   glTools(Download)
	# Get toNode
	selList.clear()
	OpenMaya.MGlobal.clearSelectionList()
	OpenMaya.MGlobal.getSelectionListByName(toNode,selList)
	toNodeObj = OpenMaya.MObject()
	# Get fromNode
	selList.clear()
	OpenMaya.MGlobal.clearSelectionList()
	OpenMaya.MGlobal.getSelectionListByName(fromNode,selList)
	fromNodeObj = OpenMaya.MObject()

src/g/l/glTools-HEAD/common/connectionUtilities.py   glTools(Download)
		# Get toNode
		selList.clear()
		OpenMaya.MGlobal.clearSelectionList()
		OpenMaya.MGlobal.getSelectionListByName(toNode,selList)
		toNodeObj = OpenMaya.MObject()
		# Get fromNode
		selList.clear()
		OpenMaya.MGlobal.clearSelectionList()
		OpenMaya.MGlobal.getSelectionListByName(fromNode,selList)
		fromNodeObj = OpenMaya.MObject()