Create a new context to split facets on polygonal objects In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
adjustEdgeFlow (aef) | float | ||
constrainToEdges (cte) | bool | ![]() ![]() ![]() |
|
Enable/disable snapping to edge. If enabled any click in the current face will snap to the closest valid edge. If there is no valid edge, the click will be ignored. NOTE: This is different from magnet snapping, which causes the click to snap to certain points along the edge. |
|||
detachEdges (de) | bool | ||
edgeMagnets (em) | int | ![]() ![]() ![]() |
|
|
|||
exists (ex) | bool | ||
highlightPointColor (hpc) | float, float, float | ||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
insertWithEdgeFlow (ief) | bool | ||
snapTolerance (st) | float | ![]() ![]() ![]() |
|
|
|||
snappedToEdgeColor (sec) | float, float, float | ||
snappedToFaceColor (sfc) | float, float, float | ||
snappedToMagnetColor (smc) | float, float, float | ||
snappedToVertexColor (svc) | float, float, float | ||
snappingTolerance (st) | float | ||
splitLineColor (slc) | float, float, float | ||
Derived from mel command maya.cmds.polySplitCtx2
Example:
import pymel.core as pm
# Create a poly plane
pm.polyPlane(w=10, h=10, sx=1, sy=1, n='pPlane1')
# Create a new poly split context, then switch to it
pm.polySplitCtx2('polySplitCtx2')
pm.setToolTo('polySplitCtx2')