Go to: Synopsis. Return value. MEL examples.
makeCurvesDynamic(int $version, string $args[] )
None
Variable Name | Variable Type | Description |
---|---|---|
$version | int | The version of Maya for this command. This allows old scripts using this call to still work after changes to this function. $args[0] = surfaceAttach If true then connect the hairs to a surface(also selected) basing the uv on the nearest point to the first curve cv $args[1] = snapToSurface If true and attaching to a surface then also snap the curve to the surface. $args[2] = matchPosition If true then make the input curve a degree one so resulting output curve exactly matches the position. $args[3] = createOutCurves If true then output curves are created $args[4] = createPfxHair If true then hair is created. |
makeCurvesDynamic 2 { "0", "0", "0", "0", "1" };