class counterpart of mel function rigidSolver
This command sets the attributes for the rigid solver In query mode, return type is based on queried flag.
Add a new dynamic attibute to this node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.addAttribute
Undo is not currently supported for this method
Allocates a node flag for sole use by the caller. Note that the flag is not specific to any one node but is made available to the caller on all nodes. Furthermore, node flags only persist for the duration of the current Maya session: they are not saved with the scene.
Parameters : |
|
---|---|
Return type: | int |
Derived from api method maya.OpenMaya.MFnDependencyNode.allocateFlag
Finds the attribute of this node at the given index. Index order is based on the order in which the attributes were added to the node.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnDependencyNode.attribute
Returns the class (normal, dynamic, extension) of the specified attribute.
Parameters : |
|
---|---|
Return type: |
Derived from api method maya.OpenMaya.MFnDependencyNode.attributeClass
Deallocates all of the node flags which are currently allocated to the specified plugin. The deallocated flags immediately become available for use by any plugin.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.deallocateAllFlags
Undo is not currently supported for this method
Deallocates a node flag which was previously allocated by a call to allocateFlag . The flag subsequently becomes available for reallocation and use by someone else.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.deallocateFlag
Undo is not currently supported for this method
Node callbacks that occur when timing is enabled get logged with the node and can be queried via this method. See the dgCallbackIds method for getting a further breakdown of the time for an individual callback on this node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.dgCallbacks
Undo is not currently supported for this method
The function returns the specified timer value for the current node. This is the total amount of time spent performing the requested operation since the timer was last reset (see dgTimerReset() for details). There are numerous timers per node and these are referenced by the metric and the timer type.
Parameters : |
|
---|---|
Return type: | float |
Derived from api method maya.OpenMaya.MFnDependencyNode.dgTimer
Indicates that this node should no longer collect DG timing data when DG timing is enabled. See dgTimerOn() and enableDGTiming() for more details. Derived from api method maya.OpenMaya.MFnDependencyNode.dgTimerOff
Undo is not currently supported for this method
Indicates that this node should collect DG timing data whenever DG timing is enabled. See enableDGTiming() for more details. Derived from api method maya.OpenMaya.MFnDependencyNode.dgTimerOn
Undo is not currently supported for this method
The function returns the current on/off state of the node’s timer.
Return type: | DependNode.MdgTimerState |
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.dgTimerQueryState
The function resets the dependency graph timers and counters for this node to zero. Note that this method does not start or stop timing, it only resets the values to zero. If you want to turn on timing, use the method dgTimerOn() . If you want to turn off timing, use dgTimerOff() . Derived from api method maya.OpenMaya.MFnDependencyNode.dgTimerReset
Undo is not currently supported for this method
Retrieves the attribute with the given alias.
Parameters : |
|
---|---|
Return type: | (bool, PyNode) |
Derived from api method maya.OpenMaya.MFnDependencyNode.findAlias
Attempt to find a plug for the given attribute. This method will first try to find the networked version of the plug if requested. The networked version of a plug is one that currently exists in the dependency graph at a particular connection point. If a networked version is not found, then a standard non-networked plug is returned.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnDependencyNode.findPlug
Returns an array of attributes that are affected by the attribute passed in. That is, when the given attribute, attr is marked dirty (changed) all the affectedAttributes attributes will also be marked dirty. For nodes defined in plug-ins this call returns all those attributes that were marked as being affected by the given one via the MPxNode::attributeAffects call.
Parameters : |
|
---|---|
Return type: | PyNode list |
Derived from api method maya.OpenMaya.MFnDependencyNode.getAffectedAttributes
Returns an array of attributes that affect the attribute passed in, attr . That is, when one of the attributes in affectedByAttributes is marked dirty (changed) then attr will also be marked dirty. For nodes defined in plug-ins this call returns all those attributes that were marked as affecting the given one via the MPxNode::attributeAffects call.
Parameters : |
|
---|---|
Return type: | PyNode list |
Derived from api method maya.OpenMaya.MFnDependencyNode.getAffectedByAttributes
Returns the node’s alias attribute, which is a special attribute used to store information about the node’s attribute aliases.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnDependencyNode.getAliasAttr
Returns a list of all attribute aliases for this node. The aliases are pairs of strings with the first being the alias and the second being the attribute’s real name.
Return type: | (bool, list list) |
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.getAliasList
Turns the auto tolerance calculation on and off. The auto tolerances calculation will override the default or user defined values of the step size and collision tolerance value that is calculated based on the objects in the scene. Default: 0 (off)
Derived from mel command maya.cmds.rigidSolver
Turns bounciness on and off for the an the objects in the simulation. Default value: on
Derived from mel command maya.cmds.rigidSolver
Turns the cache on fall all rigid bodies in the system. Default value: off
Derived from mel command maya.cmds.rigidSolver
Disallows the interpenetration of the two rigid bodies listed. Default: Collide is on for all bodies.
Derived from mel command maya.cmds.rigidSolver
Sets the collision tolerance. This is the error at which two objects are considered to have collided. Range: 0.0005 - 1.000 Default: 0.02
Derived from mel command maya.cmds.rigidSolver
Get all of the current connections to this node as an array of plugs.
Return type: | PyNode list |
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.getConnections
Turns the contact data information on/off for all rigid bodies. Default value: off
Derived from mel command maya.cmds.rigidSolver
Deletes the cache for all rigid bodies in the system.
Derived from mel command maya.cmds.rigidSolver
Displays the center of mass icon. Default value: on
Derived from mel command maya.cmds.rigidSolver
Displays the constraint vectors. Default value: on
Derived from mel command maya.cmds.rigidSolver
Displays the velocity vectors. Default value: off
Derived from mel command maya.cmds.rigidSolver
Turns dynamics on and off for the an the objects in the simulation. Default value: on
Derived from mel command maya.cmds.rigidSolver
Turns friction on and off for the an the objects in the simulation. Default value: on
Derived from mel command maya.cmds.rigidSolver
Allows the two rigid bodies listed to interpenetrate. Default: interpenetration is off for all bodies.
Derived from mel command maya.cmds.rigidSolver
Returns the name of this node. Note that if the object the instance of this class is attached to is data instead of being in the graph (ie. the object was created by one of the MFn*Data function sets, or was passed to an MPxNode::compute function in a data block) then the name method will not work.
Return type: | unicode |
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.name
Returns a list of rigid bodies in the solver.
Derived from mel command maya.cmds.rigidSolver
Returns the number of rigid bodies in the solver.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.rigidSolver
Displays the colliding objects in a different color.
Derived from mel command maya.cmds.rigidSolver
Displays the interpenetrating objects in a different color.
Derived from mel command maya.cmds.rigidSolver
Sets the solver method. The choices are 0 | 1 | 2. 0 = Euler (fastest/least acurate), 1 = Runge-Kutta ( slower/more acurate), 2 = adaptive Runge-Kutta (slowest/most acurate). The default is 2 (adaptive Runge-Kutta)
Derived from mel command maya.cmds.rigidSolver
Sets the start time for the solver.
Derived from mel command maya.cmds.rigidSolver
Turns the rigid solver on or off.
Derived from mel command maya.cmds.rigidSolver
Turns the statistic information on/off for all rigid bodies. Default value: off
Derived from mel command maya.cmds.rigidSolver
Sets the solvers step size. This is the maximum size of a single step the solver will take at one time. Range: 0.0004 - 0.100 Default: 0.0333
Derived from mel command maya.cmds.rigidSolver
scales the velocity vector display. Default value: 1.0
Derived from mel command maya.cmds.rigidSolver
Returns true if the node already has an attribute with the given name.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnDependencyNode.hasAttribute
Indicates whether or not this node’s name is unique within the scene.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.hasUniqueName
Checks for interpenetrating rigid bodies in the scene.
Derived from mel command maya.cmds.rigidSolver
Indicates whether or not this node came from a referenced file. If it did, the node will be marked as read-only in the scene and changes to the node’s attributes will be saved in the main scene file, not the referenced file from which the node came.
Return type: | bool |
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.isFromReferencedFile
Indicates whether or not the specified attribute was added to this node within the current scene.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnDependencyNode.isNewAttribute
Returns the alias for the plug’s attribute or the empty string if that attribute has no alias.
Parameters : |
|
---|---|
Return type: | unicode |
Derived from api method maya.OpenMaya.MFnDependencyNode.plugsAlias
Remove a dynamic attribute from a node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.removeAttribute
Undo is not currently supported for this method
Some nodes, such as the various animCurve nodes, require that their attributes be set in a specific order for proper operation. Usually this ordering is only important when the node is being created during file I/O.
Parameters : |
|
---|---|
Return type: | PyNode |
Derived from api method maya.OpenMaya.MFnDependencyNode.reorderedAttribute
Sets or removes an alias (i.e. an alternative name) for an attribute.
Parameters : |
|
---|---|
Return type: | bool |
Derived from api method maya.OpenMaya.MFnDependencyNode.setAlias
Turns the auto tolerance calculation on and off. The auto tolerances calculation will override the default or user defined values of the step size and collision tolerance value that is calculated based on the objects in the scene. Default: 0 (off)
Derived from mel command maya.cmds.rigidSolver
Turns bounciness on and off for the an the objects in the simulation. Default value: on
Derived from mel command maya.cmds.rigidSolver
Turns the cache on fall all rigid bodies in the system. Default value: off
Derived from mel command maya.cmds.rigidSolver
Disallows the interpenetration of the two rigid bodies listed. Default: Collide is on for all bodies.
Derived from mel command maya.cmds.rigidSolver
Sets the collision tolerance. This is the error at which two objects are considered to have collided. Range: 0.0005 - 1.000 Default: 0.02
Derived from mel command maya.cmds.rigidSolver
Turns the contact data information on/off for all rigid bodies. Default value: off
Derived from mel command maya.cmds.rigidSolver
Deletes the cache for all rigid bodies in the system.
Derived from mel command maya.cmds.rigidSolver
Displays the center of mass icon. Default value: on
Derived from mel command maya.cmds.rigidSolver
Displays the constraint vectors. Default value: on
Derived from mel command maya.cmds.rigidSolver
Displays the velocity vectors. Default value: off
Derived from mel command maya.cmds.rigidSolver
Turns dynamics on and off for the an the objects in the simulation. Default value: on
Derived from mel command maya.cmds.rigidSolver
Sets the state of the specified flag for the node.
Parameters : |
|
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.setFlag
Undo is not currently supported for this method
Turns friction on and off for the an the objects in the simulation. Default value: on
Derived from mel command maya.cmds.rigidSolver
Allows the two rigid bodies listed to interpenetrate. Default: interpenetration is off for all bodies.
Derived from mel command maya.cmds.rigidSolver
Sets the name of this node.
Parameters : |
|
---|---|
Return type: | unicode |
Derived from api method maya.OpenMaya.MFnDependencyNode.setName
Displays the colliding objects in a different color.
Derived from mel command maya.cmds.rigidSolver
Displays the interpenetrating objects in a different color.
Derived from mel command maya.cmds.rigidSolver
Sets the solver method. The choices are 0 | 1 | 2. 0 = Euler (fastest/least acurate), 1 = Runge-Kutta ( slower/more acurate), 2 = adaptive Runge-Kutta (slowest/most acurate). The default is 2 (adaptive Runge-Kutta)
Derived from mel command maya.cmds.rigidSolver
Sets the start time for the solver.
Derived from mel command maya.cmds.rigidSolver
Turns the rigid solver on or off.
Derived from mel command maya.cmds.rigidSolver
Turns the statistic information on/off for all rigid bodies. Default value: off
Derived from mel command maya.cmds.rigidSolver
Sets the solvers step size. This is the maximum size of a single step the solver will take at one time. Range: 0.0004 - 0.100 Default: 0.0333
Derived from mel command maya.cmds.rigidSolver
scales the velocity vector display. Default value: 1.0
Derived from mel command maya.cmds.rigidSolver
Returns the type name of this node. The string returned is the name of the node type as it is used in the ascii file format.
Return type: | unicode |
---|
Derived from api method maya.OpenMaya.MFnDependencyNode.typeName