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

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

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_InsertParentsCmd.py   PipelineConstructionSet(Download)
                                          newLocator)  # the object is now a child of the new locator
            currentObjectFn.set(OM.MTransformationMatrix())  # set the object's local matrix to identity
            self.__dagModify.renameNode(newLocator, self.__prefix + currentObjectFn.partialPathName() + self.__suffix)
            # append the new locator to the array
            newLocFn.getPath(newLocatorPath)

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_Ribbon.py   PipelineConstructionSet(Download)
                newMesh = self.__dagModify.createNode('mesh')
                newObjects.append(newMesh)
                self.__dagModify.renameNode(newMesh, '%s%s' % (self.__baseNameArg, i + 1))
            self.__dagModify.doIt()
 

src/m/r/mrv-1-1.0.3-stable/mrv/maya/nt/base.py   MRV(Download)
				newapiobj = dagmod.createNode(actualtype)							# create
 
			dagmod.renameNode(newapiobj, dagtoken)									# rename
 
			parentnode = createdNode = newapiobj				# update parent