Go to: Synopsis. Return value. Python examples.

Synopsis

texSelectShortestPathCtx()

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.

Return value

None

In query mode, return type is based on queried flag.

Python examples

import maya.cmds as cmds

# To create a new poly shortest edge path context:
#
cmds.texSelectShortestPathCtx( 'PolyTexShortestPath' )