pymel.core.nodetypes.PolyCrease

Inheritance diagram of PolyCrease

class PolyCrease(*args, **kwargs)

class counterpart of mel function polyCrease

Command to set the crease values on the edges or vertices of a poly. The crease values are used by the smoothing algorithm.

getCreateHistory(**kwargs)

For objects that have no construction history, this flag can be used to force the creation of construction history for creasing. By default, history is not created if the object has no history. Regardless of this flag, history is always created if the object already has history.

Derived from mel command maya.cmds.polyCrease

getOperation(**kwargs)

Operation to perform. Valid values are: 0: Crease the specified components. 1: Remove the crease values for the specified components. 2: Remove all crease values from the mesh. Default is 0.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.polyCrease

getRelativeValue(**kwargs)

Specifies a new relative value for all selected vertex and edge components. This flag can not be used at the same time as either the value or vertexValue flags.

Derived from mel command maya.cmds.polyCrease

getValue(**kwargs)

Specifies the crease value for the selected edge components. When specified multiple times, the values are assigned respectively to the specified edges.

Derived from mel command maya.cmds.polyCrease

getVertexValue(**kwargs)

Specifies the crease value for the selected vertex components. When specified multiple times, the values are assigned respectively to the specified vertices.

Derived from mel command maya.cmds.polyCrease

setCreateHistory(val=True, **kwargs)

For objects that have no construction history, this flag can be used to force the creation of construction history for creasing. By default, history is not created if the object has no history. Regardless of this flag, history is always created if the object already has history.

Derived from mel command maya.cmds.polyCrease

setOperation(val=True, **kwargs)

Operation to perform. Valid values are: 0: Crease the specified components. 1: Remove the crease values for the specified components. 2: Remove all crease values from the mesh. Default is 0.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.polyCrease

setRelativeValue(val=True, **kwargs)

Specifies a new relative value for all selected vertex and edge components. This flag can not be used at the same time as either the value or vertexValue flags.

Derived from mel command maya.cmds.polyCrease

setValue(val=True, **kwargs)

Specifies the crease value for the selected edge components. When specified multiple times, the values are assigned respectively to the specified edges.

Derived from mel command maya.cmds.polyCrease

setVertexValue(val=True, **kwargs)

Specifies the crease value for the selected vertex components. When specified multiple times, the values are assigned respectively to the specified vertices.

Derived from mel command maya.cmds.polyCrease

Previous topic

pymel.core.nodetypes.PolyCopyUV

Next topic

pymel.core.nodetypes.PolyCreaseEdge

Core

Core Modules

Other Modules

This Page