pymel.core.general.DimensionedComponent¶
digraph inheritancea50516ee35 { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "Component" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.Component.html#pymel.core.general.Component",style="setlinewidth(0.5)",tooltip="Abstract base class for pymel components.",height=0.25,shape=box,fontsize=8]; "PyNode" -> "Component" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DimensionedComponent" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.general.DimensionedComponent",style="setlinewidth(0.5)",tooltip="Components for which having a __getitem__ of some sort makes sense",height=0.25,shape=box,fontsize=8]; "Component" -> "DimensionedComponent" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
- class DimensionedComponent(*args, **kwargs)¶
Components for which having a __getitem__ of some sort makes sense
ie, myComponent[X] would be reasonable.
- VALID_SINGLE_INDEX_TYPES = []¶
- currentDimension()¶
Returns the dimension index that an index operation - ie, self[...] / self.__getitem__(...) - will operate on.
If the component is completely specified (ie, all dimensions are already indexed), then None is returned.
- dimensions = 0¶