pymel.core.modeling.arcLengthDimension

arcLengthDimension(*args, **kwargs)

This command is used to create an arcLength dimension to display the arcLength of a curve/surface at a specified point on the curve/surface.

Derived from mel command maya.cmds.arcLengthDimension

Example:

import pymel.core as pm

# Measure the arcLength of curve curveShape1 at u = 0.5
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.arcLengthDimension( 'curveShape1.u[0.5]' )
# Result: nt.ArcLengthDimension(u'curveShape1->arcLengthDimensionShape1') #

# Measure the arcLength of sphere nurbsSphere1 at u = 0.5 and v = 0.5
pm.sphere();
pm.arcLengthDimension( 'nurbsSphere1.uv[0.5][0.5]' );

Previous topic

pymel.core.modeling.angleBetween

Next topic

pymel.core.modeling.arclen

Core

Core Modules

Other Modules

This Page