ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
trim(
objects
, [caching=boolean], [constructionHistory=boolean], [locatorU=float], [locatorV=float], [name=string], [nodeState=int], [object=boolean], [selected=int], [shrink=boolean], [tolerance=linear])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
trim は、取り消し可能、照会可能、および編集可能です。
このコマンドは、サーフェスをカーブ オンサーフェスでトリムします。はじめにサーフェスを分割し、次に保持する領域または破棄する領域を選択します。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
locatorU(lu)
|
float
|
|
||||||||||
|
||||||||||||
locatorV(lv)
|
float
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
selected(sl)
|
int
|
|
||||||||||
|
||||||||||||
shrink(sh)
|
boolean
|
|
||||||||||
|
||||||||||||
tolerance(tol)
|
linear
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Keep all selected regions cmds.trim( sl=0 ) # Discard all selected regions cmds.trim( sl=1 ) # shrink the underlying surface to just outside the # outermost boundary curve cmds.trim( sh=1 )