Go to: Synopsis. Flags. Return value. MEL examples.
closeCurve [-blendBias float] [-blendKnotInsertion boolean] [-constructionHistory boolean] [-curveOnSurface boolean] [-name string] [-object boolean] [-parameter float] [-polygon int] [-preserveShape int] [-range boolean] [-rebuild boolean] [-replaceOriginal boolean]
[curveName]
closeCurve is undoable, queryable, and editable.
The closeCurve command closes a curve, making it periodic. The pathname to the newly closed curve and the name of the resulting dependency node are returned. If a curve is not specified in the command, then the first active curve will be used.| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
-preserveShape(-ps)
|
int
|
|
||
|
||||
-blendBias(-bb)
|
float
|
|
||
|
||||
-blendKnotInsertion(-bki)
|
boolean
|
|
||
|
||||
-parameter(-p)
|
float
|
|
||
|
||||
-name(-n)
|
string
|
|
||
|
||||
-constructionHistory(-ch)
|
boolean
|
|
||
|
||||
-object(-o)
|
boolean
|
|
||
|
||||
-replaceOriginal(-rpo)
|
boolean
|
|
||
|
||||
-curveOnSurface(-cos)
|
boolean
|
|
||
|
||||
-polygon(-po)
|
int
|
|
||
|
||||
-range(-rn)
|
boolean
|
|
||
|
||||
-rebuild(-rb)
|
boolean
|
|
||
|
||||
closeCurve -ch on -ps on curve1; // Closes curve1 with history and by preserving shape. The result will // be the name of the closed curve, and the name of the newly created // dependency node. closeCurve -ch on -ps off curve1; // Closes curve1 with history and will not preserve the shape of the // curve. closeCurve -ch on -rpo on curve1; // Closes curve1 with history and replaces the original curve with // the closed one.