This command is used to create a distance dimension to display the distance between two specified points.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
endPoint (ep) | float, float, float | ||
|
|||
startPoint (sp) | float, float, float | ||
|
Derived from mel command maya.cmds.distanceDimension
Example:
import pymel.core as pm
# To measure ths distance between [0,2,2] and [1,5,6]:
pm.distanceDimension( sp=(0, 2, 2), ep=(1, 5, 6) )
# Result: distanceDimensionShape1 #