Go to: Synopsis. Return value. Python examples.
polyCutCtx()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyCutCtx is undoable, queryable, and editable.
Create a new context to cut facets on polygonal objectsNone
In query mode, return type is based on queried flag.
import maya.cmds as cmds # Create a poly plane cmds.polyPlane(w=10, h=10, sx=1, sy=1, n='pPlane1') # Create a new cut facets context, then switch to it cmds.polyCutCtx('polyCutCtx1') cmds.setToolTo('polyCutCtx1')