suggestion: Value Switch Node

Forums 💬 FlowCanvas ⚙️ Support suggestion: Value Switch Node

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22798
    nicoyiqi
    Participant

      hi, this is my custom node design for get the desired value by changing the int value.

      [attachment file=”value switch node.jpg”]

      [attachment file=”value switch node script.jpg”]

      But it has limitations,it can not increase or decrease the number of input value port.

      [attachment file=”add port.jpg”]

      can you add a new node like the node above with add and remove value port function? thanks.

      #22800
      Gavalakis
      Keymaster

        Hello,

        There is a limitation of creating nodes with multiple ports when deriving SimplexNodes like PureFunction and right now can only be achieved by creating a full nodes thus deriving from FlowNode and handling the port registration manually. Here is a node that does what you are after:

        I am already working towards making multiple ports possible when creating nodes by deriving PureFunction, CallableAction etc nodes, for simplicity.

        Let me know if that works for you.
        Thanks.

        #22799
        nicoyiqi
        Participant

          thanks!Gavalakis

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.