This command extends a curve or creates a new curve as an extension
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
caching / cch | bool | ![]() ![]() ![]() |
|
|
|||
constructionHistory / ch | bool | ![]() |
|
|
|||
curveOnSurface / cos | bool | ![]() |
|
|
|||
distance / d | float | ![]() ![]() ![]() |
|
|
|||
extendMethod / em | int | ![]() ![]() ![]() |
|
|
|||
extensionType / et | int | ![]() ![]() ![]() |
|
|
|||
frozen / fzn | bool | ||
inputPoint / ip | float, float, float | ![]() ![]() ![]() |
|
|
|||
join / jn | bool | ![]() ![]() ![]() |
|
|
|||
name / n | unicode | ![]() |
|
Sets the name of the newly-created node. If it contains namespace path, the new node will be created under the specified namespace; if the namespace does not exist, it will be created. |
|||
noChanges / nc | bool | ||
nodeState / nds | int | ![]() ![]() ![]() |
|
|
|||
object / o | bool | ![]() |
|
|
|||
pointX / px | float | ![]() ![]() ![]() |
|
|
|||
pointY / py | float | ![]() ![]() ![]() |
|
|
|||
pointZ / pz | float | ![]() ![]() ![]() |
|
|
|||
range / rn | bool | ![]() |
|
|
|||
removeMultipleKnots / rmk | bool | ![]() ![]() ![]() |
|
|
|||
replaceOriginal / rpo | bool | ![]() |
|
|
|||
start / s | int | ![]() ![]() ![]() |
|
|
Derived from mel command maya.cmds.extendCurve
Example:
import pymel.core as pm
# to extend the start of a curve with a line of distance 3
pm.extendCurve( em=0, et=0, s=True, d=3.0 )
# to extend the end of a curve to a point
pm.extendCurve( em=2, s=False, ip=(1, 2, 3) )