pymel.core.context.polyShortestPathCtx

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

Creates a new context to select shortest edge path between two vertices or UVs in the 3d viewport. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
exists (ex) bool  
   
image1 (i1) unicode  
   
image2 (i2) unicode  
   
image3 (i3) unicode  
   

Derived from mel command maya.cmds.polyShortestPathCtx

Example:

import pymel.core as pm

# To create a new poly shortest edge path context:
#
pm.polyShortestPathCtx( 'PolyViewPortShortestPath' )

Previous topic

pymel.core.context.polySelectEditCtx

Next topic

pymel.core.context.polySlideEdgeCtx

Core

Core Modules

Other Modules

This Page