pymel.core.nodetypes.PolyPinUV — PyMEL 1.0.7 documentation

pymel.core.nodetypes.PolyPinUV

Inheritance diagram of PolyPinUV

class PolyPinUV(*args, **kwargs)

class counterpart of mel function polyPinUV

This command is used to pin and unpin UVs. A pinnedUV is one which should not be modified. Each UV has an associated pin weight, that defaults to 0.0 meaning that the UV is not pinned. If pin weight is set to 1.0 then it becomes fully pinned and UV tools should not modify that UV. If the pin weight is set to a value between 0.0 and 1.0 then UV tools should weight their changes to that UV accordingly. UV pinning is not enforced by the shape node: it is up to each tool to decide whether it will obey the pin weights.

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 pinning. 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.polyPinUV

getOperation(**kwargs)

Operation to perform. Valid values are: 0: Set pin weights on the selected UVs. 1: Set pin weights to zero for the selected UVs. 2: Remove pin weights from the entire mesh. 3: Invert pin weights of the entire mesh. Default is 0.

Derived from mel command maya.cmds.polyPinUV

getUvSetName(**kwargs)

Specifies the name of the UV set to edit UVs on. If not specified the current UV set will be used if it exists. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polyPinUV

getValue(**kwargs)

Specifies the pin value for the selected UV components. When specified multiple times, the values are assigned respectively to the specified UVs.

Derived from mel command maya.cmds.polyPinUV

setCreateHistory(val=True, **kwargs)

For objects that have no construction history, this flag can be used to force the creation of construction history for pinning. 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.polyPinUV

setOperation(val=True, **kwargs)

Operation to perform. Valid values are: 0: Set pin weights on the selected UVs. 1: Set pin weights to zero for the selected UVs. 2: Remove pin weights from the entire mesh. 3: Invert pin weights of the entire mesh. Default is 0.

Derived from mel command maya.cmds.polyPinUV

setUvSetName(val=True, **kwargs)

Specifies the name of the UV set to edit UVs on. If not specified the current UV set will be used if it exists. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polyPinUV

setValue(val=True, **kwargs)

Specifies the pin value for the selected UV components. When specified multiple times, the values are assigned respectively to the specified UVs.

Derived from mel command maya.cmds.polyPinUV

Previous topic

pymel.core.nodetypes.PolyOptUvs

Next topic

pymel.core.nodetypes.PolyPipe

Core Modules

Type Modules

Other Modules

This Page