Amazon VERSION 2.0V1 Podręcznik Użytkownika Strona 168

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 264
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 167
168
The diagram below shows an example of physical and logical connections in the Node Graph. Nodes A and B have
physical connections to inputs on the Switch node, and node C has a physical connection to the output of the Switch
node.
The logical connection from node A or B to node C, depends on the setting of the switch. When the Switch node’s in
parameter is set to 0, there is a logical connection from node A, to node C, passing through the Switch node. When
the Switch nodes in parameter is set to 1, there is a logical connection from node B to node C, passing through the
Switch node.
Physical and Logical Source
Physical Source
To find the physical source from a given port, use <yourPortName>.GetConnectedPorts(). For example, create a
PrimitiveCreate node and a Merge node, connect the output of the PrimitiveCreate node to an input on the Merge
node, then get the source of the connection into the Merge node:
# Get the root node
root = NodegraphAPI.GetRootNode()
23 NODEGRAPH API | PHYSICAL AND LOGICAL CONNECTIONS
Przeglądanie stron 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 263 264

Komentarze do niniejszej Instrukcji

Brak uwag