pymel.core.nodetypes.PolyCube

Inheritance diagram of PolyCube

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 appear in Create mode of commandFlag 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