pymel.core.nodetypes.PolyCrease¶
digraph inheritance80aef46f41 { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "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)"]; "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)"]; "PolyCrease" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.nodetypes.PolyCrease",style="setlinewidth(0.5)",tooltip="class counterpart of mel function `polyCrease`",height=0.25,shape=box,fontsize=8]; "PolyModifierWorld" -> "PolyCrease" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PolyModifier" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.PolyModifier.html#pymel.core.nodetypes.PolyModifier",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PolyBase" -> "PolyModifier" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PolyModifierWorld" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.PolyModifierWorld.html#pymel.core.nodetypes.PolyModifierWorld",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PolyModifier" -> "PolyModifierWorld" [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/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 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.
- MAttrClass = Enum( EnumValue('MAttrClass', 1, 'localDynamicAttr'), EnumValue('MAttrClass', 2, 'normalAttr'), EnumValue('MAttrClass', 3, 'extensionAttr'), EnumValue('MAttrClass', 4, 'invalidAttr'))¶
- MdgTimerMetric = Enum( EnumValue('MdgTimerMetric', 0, 'metric_callback'), EnumValue('MdgTimerMetric', 1, 'metric_compute'), EnumValue('MdgTimerMetric', 2, 'metric_dirty'), EnumValue('MdgTimerMetric', 3, 'metric_draw'), EnumValue('MdgTimerMetric', 4, 'metric_fetch'), EnumValue('MdgTimerMetric', 5, 'metric_callbackViaAPI'), EnumValue('MdgTimerMetric', 6, 'metric_callbackNotViaAPI'), EnumValue('MdgTimerMetric', 7, 'metric_computeDuringCallback'), EnumValue('MdgTimerMetric', 8, 'metric_computeNotDuringCallback'), EnumValue('MdgTimerMetric', 9, 'metrics'))¶
- MdgTimerState = Enum( EnumValue('MdgTimerState', 0, 'off'), EnumValue('MdgTimerState', 1, 'on'), EnumValue('MdgTimerState', 2, 'uninitialized'), EnumValue('MdgTimerState', 3, 'invalidState'))¶
- MdgTimerType = Enum( EnumValue('MdgTimerType', 0, 'type_self'), EnumValue('MdgTimerType', 1, 'type_inclusive'), EnumValue('MdgTimerType', 2, 'type_count'), EnumValue('MdgTimerType', 3, 'types'))¶
- 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.
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. Flag can have multiple arguments, passed either as a tuple or a list.
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.
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. Flag can have multiple arguments, passed either as a tuple or a list.
Derived from mel command maya.cmds.polyCrease