pymel.core.context.texCutContext¶
- texCutContext(*args, **kwargs)¶
This command creates a context for cut uv tool. This context only works in the UV editor.
Flags:
Long Name / Short Name Argument Types Properties adjustSize / asz bool
If true, puts the tool into the mode where dragging the mouse will edit the brush size. If false, puts the tool back into the previous mode. displayShellBorders / dsb bool
Toggle the display of shell borders. edgeSelectSensitive / ess float
Set the value of the edge selection sensitivity. exists / ex bool
Returns true or false depending upon whether the specified object exists. Other flags are ignored. history / ch bool
If this is a tool command, turn the construction history on for the tool in question. image1 / i1 unicode
First of three possible icons representing the tool associated with the context. image2 / i2 unicode
Second of three possible icons representing the tool associated with the context. image3 / i3 unicode
Third of three possible icons representing the tool associated with the context. mode / m unicode
Specifies the type of effect the brush will perform, Cut or Sew. moveRatio / mvr float
The cut open ratio relative to edge length. name / n unicode
If this is a tool command, name the tool appropriately. size / sz float
Brush size value of the brush ring. steadyStroke / ss bool
Turn on steady stroke or not. steadyStrokeDistance / ssd float
The distance for steady stroke. touchToSew / tts bool
Toggle the touch to sew mode. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.texCutContext
Example:
- ::
import pymel.core as pm
// Create a new cut UV tool context, then switch to it // In order to use this tool, you must open the UV editor pm.texCutContext(‘texCutContext1’) pm.setToolTo(‘texCutContext1’)