pymel.core.context.polySelectEditCtx

polySelectEditCtx(*args, **kwargs)

Create a new context to select and edit polygonal objects

Flags:
Long name (short name) Argument Types Properties
absoluteOffset (abo) bool  
   
adjustEdgeFlow (aef) float  
   
autoComplete (ac) bool  
   
deleteEdge (de) bool  
   
divisions (div) int  
   
endVertexOffset (evo) float  
   
exists (ex) bool  
   
fixQuads (fq) bool  
   
image1 (i1) unicode  
   
image2 (i2) unicode  
   
image3 (i3) unicode  
   
insertWithEdgeFlow (ief) bool  
   
mode (m) int ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

which mode to work on. Available modes are 1-loop and 2-ringFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

smoothingAngle (sma) float  
   
splitType (spt) int  
   
startVertexOffset (svo) float  
   
useEqualMultiplier (uem) bool  
   

Derived from mel command maya.cmds.polySelectEditCtx

Example:

import pymel.core as pm

# Create a poly plane
pm.polyPlane(w=10, h=10, sx=5, sy=5, n='pPlane1')

# Create a new poly select and edit context, then switch to it
pm.polySelectEditCtx('polySelectEditCtx1')
pm.setToolTo('polySelectEditCtx1')

Previous topic

pymel.core.context.polySelectCtx

Next topic

pymel.core.context.polyShortestPathCtx

Core

Core Modules

Other Modules

This Page