pymel.core.nodetypes.PolyPrism

Inheritance diagram of PolyPrism

class PolyPrism(*args, **kwargs)

class counterpart of mel function polyPrism

The prism command creates a new polygonal prism.

getAxis(**kwargs)

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

Derived from mel command maya.cmds.polyPrism

getCaching(**kwargs)

Derived from mel command maya.cmds.polyPrism

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.polyPrism

getLength(**kwargs)

This flag specifies the length of the prism.C: Default is 2.0.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyPrism

getNodeState(**kwargs)

Derived from mel command maya.cmds.polyPrism

getNumberOfSides(**kwargs)

This specifies the number of sides for the prism.C: Default is 3.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyPrism

getNumderOfSides(**kwargs)

Derived from mel command maya.cmds.polyPrism

getSideLength(**kwargs)

This flag specifies the edge length of the prism.C: Default is 2.0.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyPrism

getSubdivisionsCaps(**kwargs)

This flag specifies the subdivisions on the caps for the prism.C: Default is 2.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyPrism

getSubdivisionsHeight(**kwargs)

This specifies the subdivisions along the height for the prism.C: Default is 1.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyPrism

setAxis(val=True, **kwargs)

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

Derived from mel command maya.cmds.polyPrism

setCaching(val=True, **kwargs)

Derived from mel command maya.cmds.polyPrism

setLength(val=True, **kwargs)

This flag specifies the length of the prism.C: Default is 2.0.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyPrism

setNodeState(val=True, **kwargs)

Derived from mel command maya.cmds.polyPrism

setNumberOfSides(val=True, **kwargs)

This specifies the number of sides for the prism.C: Default is 3.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyPrism

setNumderOfSides(val=True, **kwargs)

Derived from mel command maya.cmds.polyPrism

setSideLength(val=True, **kwargs)

This flag specifies the edge length of the prism.C: Default is 2.0.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyPrism

setSubdivisionsCaps(val=True, **kwargs)

This flag specifies the subdivisions on the caps for the prism.C: Default is 2.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyPrism

setSubdivisionsHeight(val=True, **kwargs)

This specifies the subdivisions along the height for the prism.C: Default is 1.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyPrism

Previous topic

pymel.core.nodetypes.PolyPrimitiveMisc

Next topic

pymel.core.nodetypes.PolyProj

Core

Core Modules

Other Modules

This Page