pymel.core.general.paramDimension

paramDimension(*args, **kwargs)

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.

Derived from mel command maya.cmds.paramDimension

Example:

import pymel.core as pm

import maya.cmds as cmds

pm.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));
pm.paramDimension( 'curveShape1.u[0.5]' )
# Result: nt.ParamDimension(u'curveShape1->paramDimensionShape1') #
# displays where u = 0.5 is on the curve
pm.sphere();
pm.paramDimension( 'nurbsSphere1.uv[0.5][0.5]' )
# Result: nt.ParamDimension(u'nurbsSphereShape1->paramDimensionShape2') #
# displays where u = 0.5 and v = 0.5 is on the surface

Previous topic

pymel.core.general.objectType

Next topic

pymel.core.general.paramLocator

Core

Core Modules

Other Modules

This Page