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

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

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_ShoulderConstraint.py   PipelineConstructionSet(Download)
        # WARNING: must tell the DGModifier to doIt() now in order to let Maya's auto-rename kick in and ensure the name is unique
        # otherwise attempts to use commandToExecute below may end up using some other object
        self.__dgModify.doIt()
 
        # set the attributes on the node
        if not self.__isEditUsed:
            self.__dgModify.commandToExecute('select %s' % self.__shoulderConstraintNodeFn.name())
        self.__dgModify.doIt()
        self.setResult(self.__shoulderConstraintNodeFn.name())
 

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_HipConstraint.py   PipelineConstructionSet(Download)
        # WARNING: must tell the DGModifier to doIt() now in order to let Maya's auto-rename kick in and ensure the name is unique
        # otherwise attempts to use commandToExecute below may end up using some other object
        self.__dgModify.doIt()
 
        # set the attributes on the node
        if not self.__isEditUsed:
            self.__dgModify.commandToExecute('select %s' % self.__hipConstraintNodeFn.name())
        self.__dgModify.doIt()
        self.setResult(self.__hipConstraintNodeFn.name())
 

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_ExposeTransform.py   PipelineConstructionSet(Download)
        # WARNING: must tell the DGModifier to doIt() now in order to let Maya's auto-rename kick in and ensure the name is unique
        # otherwise attempts to use commandToExecute below may end up using some other object
        self.__dgModify.doIt()
 
        # set the attributes on the node
        if not self.__isEditUsed:
            self.__dgModify.commandToExecute('select %s' % self.__exposeNodeFn.name())
        self.__dgModify.doIt()
        self.setResult(self.__exposeNodeFn.name())
 

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_Ribbon.py   PipelineConstructionSet(Download)
                newObjects.append(self.__ribbonNodeFn.object())
 
        self.__dgModify.doIt()
 
        # connect the ribbon nodes and set their attributes
                    shapeFn.name()))
 
        self.__dgModify.doIt()
 
        # if in create mode, handle group uv layout if needed
            self.__dgModify.commandToExecute('hyperShade -assign lambert1')
 
        self.__dgModify.doIt()
 
    def undoIt(self):

src/m/r/mrv-1-1.0.3-stable/mrv/maya/nt/set.py   MRV(Download)
		def __init__( self, sellist ):
			dgmod = api.MDGModifier( )
			self.setobj = dgmod.createNode( "objectSet" )
			dgmod.doIt( )
			# add members
			dgmod = api.MDGModifier()
			dgmod.deleteNode( self.setobj )
			dgmod.doIt()