Go to: Synopsis. Return value. Python examples.
paramDimension(
[curve|surface]
)
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
paramDimension is undoable, NOT queryable, and NOT editable.
This command is used to create a param dimension to display the parameter value of a curve/surface at a specified point on the curve/surface.string | Name of the paramDimension shape node created |
import maya.cmds as cmds cmds.curve(d=3, p=((-9.3, 0, 3.2), (-4.2, 0, 5.0), (6.0, 0, 8.6), (2.1, 0, -1.9)), k=(0, 0, 0, 1, 2, 2)); cmds.paramDimension( 'curveShape1.u[0.5]' ) # displays where u = 0.5 is on the curve cmds.sphere(); cmds.paramDimension( 'nurbsSphere1.uv[0.5][0.5]' ) # displays where u = 0.5 and v = 0.5 is on the surface