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_Ribbon.py   PipelineConstructionSet(Download)
                # a little sloppy, but use this opportunity to rename the shape nodes for the new meshes too
                transformFn.getPath(pathToShape)
                pathToShape.extendToShape()
                shapeFn.setObject(pathToShape)
                self.__dgModify.renameNode(shapeFn.object(), '%sShape%s' % (
                ##transformFn.getPath(pathToShape)
                OM.MDagPath.getAPathTo(newObjects[i], pathToShape)
                pathToShape.extendToShape()
                shapeFn.setObject(pathToShape)
                self.__selectedCurves.getDependNode(i, curve)

src/p/i/PipelineConstructionSet-HEAD/python/maya/site-packages/amTools/unity/blendShapes.py   PipelineConstructionSet(Download)
		try:
			# ensure the current transform has a shape node
			dagPath.extendToShape()
			# search upstream from shape for all blendShape nodes
			dg = om.MItDependencyGraph(dagPath.node(), om.MFn.kBlendShape, om.MItDependencyGraph.kUpstream)
		sel.add(taggedBaseMesh)
		sel.getDagPath(0, dagPath)
		dagPath.extendToShape()
		tagMesh(dagPath)
 
				sel.add(taggedTarget)
				sel.getDagPath(0, dagPath)
				dagPath.extendToShape()
				tagMesh(dagPath)
				# link target to tagged base shape

src/p/i/PipelineConstructionSet-HEAD/python/maya/site-packages/amTools/unity/rigs/expressions.py   PipelineConstructionSet(Download)
				model = OM.MDagPath(dagPath)
				# ensure the current transform has a shape node
				try: dagPath.extendToShape()
				except: iter.next()
				# search upstream from shape for all blendShape nodes

src/p/i/PipelineConstructionSet-HEAD/python/maya/site-packages/amTools/unity/models.py   PipelineConstructionSet(Download)
	    iter.getDagPath(path)
	    objectName = path.fullPathName()
	    path.extendToShape()
	    fn = om.MFnDagNode(path)
	    if fn.typeName() == 'mesh':