ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
showHidden(
[objects...]
, [above=boolean], [allObjects=boolean], [below=boolean], [lastHidden=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
showHidden は、取り消し可能、照会不可能、および編集不可能です。
showHidden コマンドは、非表示オブジェクトを可視にするために使用します。フラグが指定されていない場合、コマンドに指定したオブジェクトだけが可視状態になります。オブジェクトの親が不可視の場合、当該オブジェクトも不可視のままです。不可視性は継承されます。オブジェクトを確実に可視にするには、-a/above フラグを使用します。このフラグを使用すると、オブジェクト(1 つまたは複数)の不可視の祖先がすべて可視になります。-b/below フラグを使用すると、オブジェクトの下のすべての不可視オブジェクトが可視になります。すべてのオブジェクトを可視にするには、-all/allObjects フラグを使用します。関連項目: hide
なし
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
above(a)
|
boolean
|
![]() |
||
|
||||
allObjects(all)
|
boolean
|
![]() |
||
|
||||
below(b)
|
boolean
|
![]() |
||
|
||||
lastHidden(lh)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # create a sphere and group it, then hide the sphere and the group. cmds.sphere( n='sphere1' ) cmds.group( n='group1' ) cmds.hide( 'group1', 'sphere1' ) # make the sphere visible. Note that you still can't see it # because the group is invisible. cmds.showHidden( 'sphere1' ) # make the sphere and the group visible. cmds.showHidden( 'sphere1', above=True ) # make everything visible. This will make the cameras (which are # normally invisible) visible as well. cmds.showHidden( all=True )