Go to: Synopsis. Return value. Flags. MEL examples.
textCurves [-caching boolean] [-font string] [-name
string] [-nodeState int]
[-object boolean] [-text string] [string]
textCurves is undoable, queryable, and editable.
The textCurves command creates NURBS curves from a text string
using the specified font. A single letter can be made up of more
than one NURBS curve. The number of curves per letter varies with
the font.
string[] |
Object name and node name |
In query mode, return type is based on queried flag.
caching, font,
name, nodeState, object,
text
Long name (short name) |
Argument types |
Properties |
Advanced flags |
-caching(-cch) |
boolean |
   |
|
Modifies the node caching mode. See the node documentation for
more information.
Note: For advanced users only. |
|
-nodeState(-nds) |
int |
   |
|
Modifies the node state. See the node documentation for more
information.
Note: For advanced users only. |
|
-text(-t) |
string |
 |
|
The string to create the curves for |
|
-font(-f) |
string |
 |
|
-name(-n) |
string |
 |
|
Name the resulting object |
|
-object(-o) |
boolean |
 |
|
Create the result shapes, or just the dependency node |
|
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. |
// Create curves for text string "Maya" in the "Times-Roman" font:
textCurves -f "Times-Roman" -t "Maya";
// Create curves for text "hello world" in the "Courier" font.
// The "-n" flag specifies the name of the resulting transform
// and shape.
textCurves -f "Courier" -t "hello world" -n "first";