pymel.core.context.polyCutCtx

static context.polyCutCtx(*args, **kwargs)

Create a new context to cut facets on polygonal objects In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
deleteFaces (df) bool  
   
exists (ex) bool  
   
extractFaces (ef) bool  
   
extractOffset (eo) float, float, float  
   
image1 (i1) unicode  
   
image2 (i2) unicode  
   
image3 (i3) unicode  
   

Derived from mel command maya.cmds.polyCutCtx

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 cut facets context, then switch to it
pm.polyCutCtx('polyCutCtx1')
pm.setToolTo('polyCutCtx1')

Previous topic

pymel.core.context.polyCreateFacetCtx

Next topic

pymel.core.context.polyMergeEdgeCtx

Core

Core Modules

Other Modules

This Page