def nodeCreator(cls): """ !@Brief Node creator function. Get maya API help for more informations. """ return OpenMayaMPx.asMPxPtr(cls())
def cmdCreator(): # Create the command """ Return: pointer to the command """ ptr = OpenMayaMPx.asMPxPtr(SamplePyCmd()) return ptr
def nodeCreator(): return omp.asMPxPtr(m4MultiplierNode())
def nodeCreator(cls): return OpenMayaMPx.asMPxPtr(cls())
def creator(): return OpenMayaMPx.asMPxPtr( PutObjectContextCommand() )
def nodeCreator(): # TODO change this node name return OpenMayaMPx.asMPxPtr(nodeName)
return OpenMayaMPx.asMPxPtr( moveManipContext() )
def normalizeCreator(): return OpenMayaMPx.asMPxPtr( normalize() )
def nodeCreator(): return OpenMayaMPx.asMPxPtr( vertSnapDeformer() )
def nodeCreator(): return OpenMayaMPx.asMPxPtr(GOE_mirror())
def nodeCreator(): return OpenMayaMPx.asMPxPtr(twistKnot())
def cmdCreator(): return OpenMayaMPx.asMPxPtr(BlendWeightsByDistanceCmd())
def node_creator(): return OpenMayaMPx.asMPxPtr(PushDeformerNode())
def nodeCreator(cls): return ommpx.asMPxPtr(cls())
def creator(): return OpenMayaMPx.asMPxPtr(closeCadNano())
def creator(): return OpenMayaMPx.asMPxPtr(openCadNano())
def cmdCreator(): return OpenMayaMPx.asMPxPtr(blindDoubleDataCmd())
def nodeCreator(): return mpx.asMPxPtr(DisplacementToScale())
def nodeCreator(): return OpenMayaMPx.asMPxPtr( sceneMsgCmd() )
def nodeCreator(): return OpenMayaMPx.asMPxPtr(yakisoba())
def nodeCreator(): return OpenMayaMPx.asMPxPtr(jiggleNode())
def Creator(cls): return OpenMayaMPx.asMPxPtr(cls())
def nodeCreator(): return OpenMayaMPx.asMPxPtr( dynNode() )
def nodeCreator(): return OpenMayaMPx.asMPxPtr( blenderWoodTexture() )
def creator(): return OpenMayaMPx.asMPxPtr( gear_percentageToU() )
def nodeCreator(): return omMPx.asMPxPtr(rotateBlendShape())
def cmdCreator(): return OpenMayaMPx.asMPxPtr( scriptedCommand() )
def create( ): return OpenMayaMPx.asMPxPtr( kgmEngine( ) )
def contextCmdCreator(): """Wrapper function that created the command""" return OpenMayaMPx.asMPxPtr(mayaSelctionCtxCmd())
def cmdCreator(): return OpenMayaMPx.asMPxPtr(BasicObjectSetTest())
def creator(): return ompx.asMPxPtr(SporeSampler())
def makeObj(self): return OpenMayaMPx.asMPxPtr( PutObjectContext() )
def nodeCreator(): return OpenMayaMPx.asMPxPtr(BasicObjectSet())
def cmd_creator(): return OpenMayaMPx.asMPxPtr(FitVertexCmd())
def redoIt(self): dependNode = OpenMaya.MObject() # Selected dependency node # show message and advance iterator def error(msg): sys.stderr.write(err) self.__iter.next() # Iterate over all selected dependency nodes # while not self.__iter.isDone(): # Get the selected dependency node and create # a function set for it # try: self.__iter.getDependNode(dependNode) except: error("Error getting the dependency node") continue try: fnDN = OpenMaya.MFnDependencyNode(dependNode) except: error("Error creating MFnDependencyNode") continue # Create a new attribute for our blind data # fnAttr = OpenMaya.MFnTypedAttribute() newAttr = fnAttr.create("blindDoubleData", "BDD", kPluginDataId) # Now add the new attribute to the current dependency node # fnDN.addAttribute(newAttr, OpenMaya.MFnDependencyNode.kLocalDynamicAttr) # Create a plug to set and retrive value off the node. # plug = OpenMaya.MPlug(dependNode, newAttr) # Instantiate blindDoubleData and set its value. # newData = OpenMayaMPx.asMPxPtr(blindDoubleData()) newData.setValue(3.2) # Set the value for the plug. # plug.setMPxData(newData) # Now try to retrieve the value off the plug as an MObject. # try: sData = plug.asMObject() except: error("Error getting value off plug") continue # Convert the data back to MPxData. # pdFn = OpenMaya.MFnPluginData(sData) data = pdFn.constData() # Get the value. # if not data: error("Error: failed to retrieve data.") continue self.__iter.next()
def cmdCreator(): return OpenMayaMPx.asMPxPtr(scriptedCommand())
def dataCreator(): return OpenMayaMPx.asMPxPtr(blindDoubleData())
def nodeCreator(): return OpenMayaMPx.asMPxPtr(gaussianTexture())
def create(cls): return mpx.asMPxPtr( cls() )
def cmdCreator(): return OpenMayaMPx.asMPxPtr( WhatIsCmd() )
def nodeCreator(): return OpenMayaMPx.asMPxPtr(stretchSplineSolver())
def nodeCreator(): return OpenMayaMPx.asMPxPtr(blenderVoronoiTexture())
def ms_environment_nodeCreator(): return OpenMayaMPx.asMPxPtr(ms_environment())
def createTransformationMatrix(self): return OpenMayaMPx.asMPxPtr(rockingTransformMatrix())
def cmdCreator(): return OpenMayaMPx.asMPxPtr(InheritParentsName())
def matrixCreator(): return OpenMayaMPx.asMPxPtr(rockingTransformMatrix())
def creator(): return OpenMayaMPx.asMPxPtr(cvShapeInverter())
def nodeCreator(): return OpenMayaMPx.asMPxPtr(rockingTransformNode())
def create(): return OpenMayaMPx.asMPxPtr(Ik2bCGA())
def nodeCreator(self): return OpenMayaMPx.asMPxPtr(WheelNode())
OpenMayaMPx.MPxContextCommand.__init__(self)
def create(cls): inst = cls() return mpx.asMPxPtr(inst)
def moveManipCreator(): return OpenMayaMPx.asMPxPtr( moveManip() )
def _createNode(): return OpenMayaMPx.asMPxPtr(gluePointMapping())
def nodeCreator(): return OpenMayaMPx.asMPxPtr(wheelNode())
def nodeCreator(): return OpenMayaMPx.asMPxPtr(luxSunsky())
def makeObj(self): return OpenMayaMPx.asMPxPtr(mayaSelectionContext())
def nodeCreator(): return omp.asMPxPtr(reflectionSurfaceNode())
def delaunayCreator(): return OpenMayaMPx.asMPxPtr( delaunay() )
def nodeCreator(): return OpenMayaMPx.asMPxPtr(circle())