Go to: Synopsis. Return value. Flags. MEL examples.
projectTangent [caching boolean] [constructionHistory boolean] [curvature boolean] [curvatureScale linear] [ignoreEdges boolean] [name string] [nodeState int] [object boolean] [replaceOriginal boolean] [reverseTangent boolean] [rotate angle] [tangentDirection int] [tangentScale linear]
[curve] [[curve] [curve]  [surface]]
projectTangent is undoable, queryable, and editable.
The project tangent command is used to align (for tangents) a curve to two other curves or a surface. A surface isoparm may be selected to define the direction (U or V) to align to. The end of the curve must intersect with these other objects. Curvature continuity may also be applied if required.Tangent continuity means the end of the curve is modified to be tangent at the point it meets the other objects.
Curvature continuity means the end of the curve is modified to be curvature continuous as well as tangent.
If the normal tangent direction is used, the curvature continuity and rotation do not apply. Also, curvature continuity is only available if align to a surface (not with 2 curves).
string[]  Object name and node name 
In query mode, return type is based on queried flag.
Long name (short name)  Argument types  Properties  

caching(cch)

boolean




curvature(c)

boolean




curvatureScale(cs)

linear




ignoreEdges(ie)

boolean




nodeState(nds)

int




reverseTangent(rt)

boolean




rotate(ro)

angle




tangentDirection(td)

int




tangentScale(ts)

linear




Common flags  
constructionHistory(ch)

boolean




name(n)

string




object(o)

boolean




replaceOriginal(rpo)

boolean



Flag can appear in Create mode of command  Flag can appear in Edit mode of command 
Flag can appear in Query mode of command  Flag can be used more than once in a command. 
// Do project tangent with curvature continuity between a curve and a // nurbs plane surface projectTangent c on curve1 nurbsPlane1; // Do project tangent between the 3 curves and tangent align the curve // with the reverse tangent of the second of the other 2 curves // (i.e. with curve3) projectTangent td 2 rt yes curve1 curve2 curve3;