beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Value.ValueHub

ValueHub
op id:33b08c9a-639a-4edc-8908-fa4df58a4b51
Copies the input value to the output ports (value sequence)

summary (oneliner)

This op is very similar to Ops.Sequence – the ports are set in order (from left to right) once the input value changes. This is helpful sometimes when multiple ops depend on the value of another and the order of op-execution matters.

doc

issues

youtube id

collections

related ops

Inputs

In Value (Number)

The original value which will be copied to the output ports


Outputs

Out Value 0 (Number)

Copy of In Value, port is set first


Out Value 1 (Number)

Copy of In Value, port is set second


Out Value 2 (Number)

Copy of In Value, port is set third


Out Value 3 (Number)

Copy of In Value, port is set fourth


Value Changed (Function)

Triggers when In Value changed, after all out ports have been set


ValueHub Example:

The ValueHub op is useful when you need to define the flow of a value (the order in which ops gets updated about the new value). Think about a Sequence op for values here.
First the left value out port is executed (sets the variable "myValue"), then the second one (sets the variable "anotherVariable"), …, at the end the trigger port triggers.

This is a very special op and you will probably need it rarely, only when from one outgoing value multiple should happen in a certain order.



Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using ValueHub

Public Patches using ValueHub