On this page | |
Since | 17.5 |
このノードを使用することで、 Select Input パラメータに基づいて、入力のネットワーク分岐を切り替えることができます。 ノードネットワークは、選択した入力の分岐を直接Switchノードの出力に接続されているノードに直接接続した場合と同じ挙動になります。 選択されなかったブランチのノードはTOPグラフを実行した時にクックされなくなります。
このノード内のパラメータは、ワークアイテムアトリビュートまたは入力ファイルへのアクセスを持ちません。
このノードは、TOPグラフ内の他のノードがワークアイテムを生成する前に評価されます。
ワークアイテムアトリビュートを使用したエクスプレッションに基づいて分岐したいのであれば、Filter by Expressionノードまたは
Splitノードを使用してください。
パラメータ ¶
Select Input
アクティブにする入力の分岐を選択します。 他の分岐はTOPグラフをクックする際に評価されなくなります。
Invalid Index
Determines what happens if the Select Input parameter refers to an invalid input index.
Ignore
The invald index is silently ignored and the node generates no work items.
Report Warning
A warning is reported on the node and the node genenerates no work items.
Report Error
The node fails to cook and an error is reported on the node.
Invalidate Output Caches
When this toggle is enabled, TOP nodes downstream of the Switch will have their output cache files invalidated the next time they recook. If the toggle is off downstream nodes will still be dirtied, but caches will be unaffected.
Keep Failed Work Items
When this toggle is enabled, the switch node will also included failed upstream work items from the active branch. Note that if this option is only meaningful if the switche is dynamic, and generates from cooked inputs.
Examples ¶
See also |