Go to: Synopsis. Return value. MEL examples.

Synopsis

makeCurvesDynamicHairs(int $surfaceAttach, int $snapToSurface, int $matchPosition)

This command makes the selected nurbs curves into dynamic Maya hair objects. It is equivalent to the menu call "makeSelectedCurvesDynamic".

Return value

None

Arguments

Variable Name Variable Type Description
$surfaceAttachintIf true then connect the hairs to a surface(also selected) basing the uv on the nearest point to the first curve cv
$snapToSurfaceintIf true and attaching to a surface then also snap the curve to the surface.
$matchPositionintIf true then make the input curve a degree one so resulting output curve exactly matches the position.

MEL examples

  makeCurvesDynamicHairs false false false;