Go to: Synopsis. Return value. Python examples.
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
texSelectShortestPathCtx is undoable, queryable, and editable.Creates a new context to select shortest edge path between two vertices or UVs in the texture editor window.
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.texSelectShortestPathCtx( 'PolyTexShortestPath' )