pymel.core.nodetypes.PolyCube

digraph inheritance50db96d472 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "PolyCreator" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.nodetypes.PolyCreator.html#pymel.core.nodetypes.PolyCreator",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "PolyBase" -> "PolyCreator" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "PolyPrimitive" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.nodetypes.PolyPrimitive.html#pymel.core.nodetypes.PolyPrimitive",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "PolyCreator" -> "PolyPrimitive" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "PyNode" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "PolyBase" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.nodetypes.PolyBase.html#pymel.core.nodetypes.PolyBase",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "DependNode" -> "PolyBase" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "PolyCube" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.nodetypes.PolyCube",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "PolyPrimitive" -> "PolyCube" [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];
  "DependNode" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"];
}

class PolyCube(*args, **kwargs)

class counterpart of mel function polyCube

The cube command creates a new polygonal cube.

getAxis(**kwargs)

This flag specifies the primitive axis used to build the cube. Q: When queried, this flag returns a float[3].

Derived from mel command maya.cmds.polyCube

getCaching(**kwargs)
Derived from mel command maya.cmds.polyCube
getConstructionHistory(**kwargs)

Turn the construction history on or off (where applicable). If construction history is on then the corresponding node will be inserted into the history chain for the mesh. If construction history is off then the operation will be performed directly on the object. Note:If the object already has construction history then this flag is ignored and the node will always be inserted into the history chain. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polyCube

getDepth(**kwargs)

This flag specifies the depth of the cube. C: Default is 1.0. Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyCube

getHeight(**kwargs)

This flag specifies the height of the cube. C: Default is 1.0. Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyCube

getNodeState(**kwargs)
Derived from mel command maya.cmds.polyCube
getSubdivisionsDepth(**kwargs)
Derived from mel command maya.cmds.polyCube
getSubdivisionsHeight(**kwargs)
Derived from mel command maya.cmds.polyCube
getSubdivisionsWidth(**kwargs)
Derived from mel command maya.cmds.polyCube
getSubdivisionsX(**kwargs)

This specifies the number of subdivisions in the X direction for the cube. C: Default is 1. Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyCube

getSubdivisionsY(**kwargs)

This flag specifies the number of subdivisions in the Y direction for the cube. C: Default is 1. Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyCube

getSubdivisionsZ(**kwargs)

This flag specifies the number of subdivisions in the Z direction for the cube. C: Default is 1. Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyCube

getWidth(**kwargs)

This flag specifies the width of the cube. C: Default is 1.0. Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyCube

setAxis(val=True, **kwargs)

This flag specifies the primitive axis used to build the cube. Q: When queried, this flag returns a float[3].

Derived from mel command maya.cmds.polyCube

setCaching(val=True, **kwargs)
Derived from mel command maya.cmds.polyCube
setDepth(val=True, **kwargs)

This flag specifies the depth of the cube. C: Default is 1.0. Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyCube

setHeight(val=True, **kwargs)

This flag specifies the height of the cube. C: Default is 1.0. Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyCube

setNodeState(val=True, **kwargs)
Derived from mel command maya.cmds.polyCube
setSubdivisionsDepth(val=True, **kwargs)
Derived from mel command maya.cmds.polyCube
setSubdivisionsHeight(val=True, **kwargs)
Derived from mel command maya.cmds.polyCube
setSubdivisionsWidth(val=True, **kwargs)
Derived from mel command maya.cmds.polyCube
setSubdivisionsX(val=True, **kwargs)

This specifies the number of subdivisions in the X direction for the cube. C: Default is 1. Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyCube

setSubdivisionsY(val=True, **kwargs)

This flag specifies the number of subdivisions in the Y direction for the cube. C: Default is 1. Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyCube

setSubdivisionsZ(val=True, **kwargs)

This flag specifies the number of subdivisions in the Z direction for the cube. C: Default is 1. Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyCube

setWidth(val=True, **kwargs)

This flag specifies the width of the cube. C: Default is 1.0. Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyCube

Previous topic

pymel.core.nodetypes.PolyCreator

Next topic

pymel.core.nodetypes.PolyCut

Core

Core Modules

Other Modules

This Page