Create a new context to merge edges on polygonal objects In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
activeNodes (anq) | bool | ||
|
|||
caching (cch) | bool | ||
constructionHistory (ch) | bool | ||
exists (ex) | bool | ||
|
|||
firstEdge (fe) | int | ||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
|
|||
immediate (im) | bool | ||
|
|||
mergeMode (mm) | int | ||
The merge mode. (at first edge : 0, in between : 1, at last edge : 2)Default is in between.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
mergeTexture (mt) | bool | ||
name (n) | unicode | ||
|
|||
nodeState (nds) | int | ||
previous (pv) | bool | ||
|
|||
reset (rs) | bool | ||
|
|||
secondEdge (se) | int | ||
toolNode (tnq) | bool | ||
|
Derived from mel command maya.cmds.polyMergeEdgeCtx
Example:
import pymel.core as pm
# Create a poly plane
pm.polyPlane(w=10, h=10, sx=10, sy=10, n='pPlane1')
# Create a new poly merge edge context, set to use first selected edge as the new edge, then switch to it
pm.polyMergeEdgeCtx('polyMergeEdgeCtx1', mm=0)
pm.setToolTo('polyMergeEdgeCtx1')