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

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

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_Ribbon.py   PipelineConstructionSet(Download)
 
        self.__dagModify = OM.MDagModifier()  # Dag modifier used to create new shapes/transforms
        self.__dgModify = OM.MDGModifier()  # DG modifier used to create and modify new ribbon nodes
 
    def doIt(self, args):
    def redoIt(self):
        # clear out the modifiers to they don't store old object names
        self.__dagModify = OM.MDagModifier()
        self.__dgModify = OM.MDGModifier()
 

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_ShoulderConstraint.py   PipelineConstructionSet(Download)
        self.__spineFrontAxisArg = OM.MVector(0, 0, 1)
 
        self.__dgModify = OM.MDGModifier()  # DG modifier used to create and modify nodes
 
    def doIt(self, args):
    def redoIt(self):
        # clear out the modifier so it doesn't store old object names
        self.__dgModify = OM.MDGModifier()
 
        # create a new node if the command is in create mode

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_HipConstraint.py   PipelineConstructionSet(Download)
        self.__pelvisFrontAxisArg = OM.MVector(0, 0, 1)
 
        self.__dgModify = OM.MDGModifier()  # DG modifier used to create and modify nodes
 
    def doIt(self, args):
    def redoIt(self):
        # clear out the modifier so it doesn't store old object names
        self.__dgModify = OM.MDGModifier()
 
        # create a new node if the command is in create mode

src/p/i/PipelineConstructionSet-HEAD/maya/plugins/2014/win64/AM_ExposeTransform.py   PipelineConstructionSet(Download)
        self.__referenceAxisArg = OM.MVector(0, 0, 1)  # axis on the reference object to use for dot and angle
 
        self.__dgModify = OM.MDGModifier()  # DG modifier used to create and modify nodes
 
    def doIt(self, args):
    def redoIt(self):
        # clear out the modifier so it doesn't accumulate old object names
        self.__dgModify = OM.MDGModifier()
 
        # create a new node if the command is in create mode

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
			mfnset.clear()
			del( mfnset )
			dgmod = api.MDGModifier()
			dgmod.deleteNode( self.setobj )
			dgmod.doIt()

src/m/r/mrv-1-1.0.3-stable/mrv/maya/nt/base.py   MRV(Download)
		else:
			if dgmod is None:
				dgmod = api.MDGModifier()
 
			# create dg node - really have to check for clashes afterwards

src/m/r/mrv-1-1.0.3-stable/mrv/maya/mdb.py   MRV(Download)
def _createTmpNode(nodetype):
	"""Return tuple(mobject, modifier) for the nodetype or raise RuntimeError
	doIt has not yet been called on the modifier, hence the mobject is temporary"""
	try:
		mod = api.MDGModifier()

src/m/r/mrv-1-1.0.3-stable/mrv/maya/nt/__init__.py   MRV(Download)
 
		# register types in the system if possible
		dgmod = api.MDGModifier()
		dagmod = api.MDagModifier()
		transobj = None