Amazon VERSION 2.0V1 Guía de usuario Pagina 168

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 263 264

Comentarios a estos manuales

Sin comentarios