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

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

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_InsertParentsCmd.py   PipelineConstructionSet(Download)
        # now set the attributes and reparent the selected objects
        selectionString = ''  # the selection list needs to be formatted for MEL
        for i in range(0, self.__newLocators.length()):
            newLocFn.setObject(self.__newLocators[i])
            selectionString += ' %s' % newLocFn.fullPathName()

src/p/m/pmHeatWeight-HEAD/packages/contents/scripts/PM_heatWeight.py   pmHeatWeight(Download)
    mfnSkin.influenceObjects(dagPaths)
    influences = []
    for i in xrange(dagPaths.length()):
        influences.append(dagPaths[i].fullPathName())
    return influences

src/m/r/mrv-1-1.0.3-stable/mrv/maya/nt/base.py   MRV(Download)
 
		# paths are ordered by instance number
		for i in range(allpaths.length()):
			# index is NOT instance number ! If transforms are instanced, children increase instance number
			dagpath = allpaths[i]

src/n/g/ngSkinTools-HEAD/ngSkinTools/python/ngSkinTools/skinClusterFn.py   ngSkinTools(Download)
        self.fn.influenceObjects(dagPaths)
        result = []
        for i in range(dagPaths.length()):
            result.append(dagPaths[i].fullPathName())
 

src/g/l/glTools-HEAD/utils/skinCluster.py   glTools(Download)
	infPathArray = OpenMaya.MDagPathArray()
	skinClusterFn.influenceObjects(infPathArray)
	infNameArray = [infPathArray[i].partialPathName() for i in range(infPathArray.length())]
 
	# Check influence

src/g/l/glTools-HEAD/tools/smoothWeights.py   glTools(Download)
		infArray = OpenMaya.MDagPathArray()
		skinFn.influenceObjects(infList)
		infList = [infArray[i].partialPathName() for i in range(infArray.length())]
		infIndList = [glTools.utils.skinCluster.getInfluencePhysicalIndex(skin,inf) for inf in infList]
 

src/p/m/pmHeatWeight-HEAD/src/PM_heatWeight.py   pmHeatWeight(Download)
    mfnSkin.influenceObjects(dagPaths)
    influences = []
    for i in xrange(dagPaths.length()):
        influences.append(dagPaths[i].fullPathName())
    return influences