移動先: 概要 戻り値 フラグ. MEL 例.

概要

textCurves [-caching boolean] [-font string] [-name string] [-nodeState int] [-object boolean] [-text string] [string]

textCurves は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。

textCurves コマンドは、指定のフォントを使用して テキスト文字列から NURBS カーブを作成します。

1 つの文字が複数の NURBS カーブから作成されることもあります。 1 文字あたりのカーブ数はフォントによって異なります。

戻り値

string[]オブジェクト名とノード名

戻り値の型は照会モードでは照会フラグが基になります。

フラグ

caching, font, name, nodeState, object, text
ロング ネーム(ショート ネーム) 引数型 プロパティ
高度なフラグ
-caching(-cch) boolean createqueryedit
ノード キャッシング モードを修正します。詳細については、ノードの説明を参照してください。
: 上級ユーザ向けの機能です。
-nodeState(-nds) int createqueryedit
ノード状態を修正します。詳細については、ノードの説明を参照してください。
: 上級ユーザ向けの機能です。
-text(-t) string create
カーブを作成するための文字列です。
-font(-f) string create
使用するフォントです。
-name(-n) string create
作成されたオブジェクトに名前を付けます。
-object(-o) boolean create
結果のシェイプを作成するか、またはディペンデンシー ノードだけを作成します。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : 1 つのコマンドで複数回使用可能なフラグ

MEL 例

// 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";