Go to: Synopsis. Return value. Python examples.
polyShortestPathCtx()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyShortestPathCtx is undoable, queryable, and editable.
Creates a new context to select shortest edge path between two vertices or UVs in the 3d viewport.None
In query mode, return type is based on queried flag.
import maya.cmds as cmds # To create a new poly shortest edge path context: # cmds.polyShortestPathCtx( 'PolyViewPortShortestPath' )