Package mrv :: Package maya :: Package nt :: Module geometry :: Class GeometryShape
[hide private]
[frames] | no frames]

Class GeometryShape

source code

             object --+                        
                      |                        
              base.Node --+                    
                          |                    
         object --+       |                    
                  |       |                    
interface.Interface --+   |                    
                      |   |                    
interface.iDuplicatable --+                    
                          |                    
            base.DependNode --+                
                              |                
             base.ContainerBase --+            
                                  |            
                        base.Entity --+        
                                      |        
                     object --+       |        
                              |       |        
            interface.Interface --+   |        
                                  |   |        
                 interface.iDagItem --+        
                                      |        
                           base.DagNode --+    
                                          |    
                                 base.Shape --+
                                              |
                                             GeometryShape

Contains common methods for all geometry types
Instance Methods [hide private]
 
copyLightLinks(self, other, **kwargs)
Copy lightlinks from one meshShape to another
source code

Inherited from base.DagNode: __getitem__, dagPath, name

Inherited from base.DependNode: setLocked

Inherited from base.Node: __hash_2009__, __new__

Inherited from interface.iDuplicatable: copyTo, copyToOther

Inherited from interface.Interface: supports

Inherited from object: __delattr__, __format__, __getattribute__, __init__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

    Sets Interface

Inherited from base.Shape: componentAssignments

Inherited from base.Shape (private): _parseSetConnections

    DAG Modification

Inherited from base.DagNode: addChild, addInstancedChild, addParent, removeChild, removeParent, reparent, setParent, unparent

Inherited from base.DagNode (private): _setWorldspaceTransform

    Edit

Inherited from base.DagNode: delete, duplicate

Inherited from base.DependNode: addAttribute, removeAttribute, rename, setNamespace

Inherited from base.DependNode (private): _addRemoveAttr

    DAG Status Information

Inherited from base.DagNode: displayOverrideValue, isTemplate, isVisible

    DAG Query

Inherited from base.DagNode: child, childTransforms, children, childrenByType, hasChild, instance, instanceNumber, parent, parentAtIndex, shapes, transform

    Iterators

Inherited from base.DagNode: iterInstances

Inherited from interface.iDagItem: iterParents

    Overridden Methods

Inherited from base.DagNode: __eq__, __ne__

Inherited from base.DependNode: __getattr__, __repr__, __str__

Inherited from base.Node: __hash__

    Sets Handling

Inherited from base.DagNode (private): _getSetPlug

Inherited from base.DependNode: addTo, connectedSets, isMemberOf, removeFrom, sets

    Connections and Attributes

Inherited from base.DependNode: connections, dependencyInfo

    Status

Inherited from base.DagNode: isValid

Inherited from base.DependNode: isAlive

    General Query

Inherited from base.DagNode: apiObject, basename, object

Inherited from base.DependNode: referenceFile

    Interface

Inherited from base.Node: apiType, hasFn

Inherited from interface.iDuplicatable: copyFrom, createInstance

    Query Methods

Inherited from interface.iDagItem: childrenDeep, isPartOf, isRoot, isRootOf, parentDeep, root

    Name Generation

Inherited from interface.iDagItem: fullChildName

Class Methods [hide private]
    Interface

Inherited from base.Node: getMFnClasses

    Name Generation

Inherited from interface.iDagItem: addSep

Class Variables [hide private]

Inherited from base.DagNode: kNextPos

Inherited from base.Node: __metaclass__

Inherited from interface.iDagItem: kOrder_BreadthFirst, kOrder_DepthFirst

    preset type filters

Inherited from base.Shape: fSetsDeformer, fSetsRenderable

Inherited from base.DependNode: fSets, fSetsObject

    Configuration

Inherited from base.DagNode (private): _sep

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

copyLightLinks(self, other, **kwargs)

source code 
Copy lightlinks from one meshShape to another
Parameters:
  • kwargs -
    • substitute:

      if True, default False, the other shape will be put in place of self, effectively receiving it's light-links whereas self losses them. This is practical in case you create a new shape below a transform that had a previously visible and manipulated shape whose external connections you wouuld like to keep

Decorators:
  • @undoable