Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39513

Wish - GH Component Inport option "OneOf"

$
0
0

@RIL wrote:

Moved from there:

OneOf -option inports

It would be nice to have an extra feature on the inports which I call “OneOf”, meaning that all inports which have this option set to true will, when a wire is connected, release any other inport which also has this option set. The meaning will be, well, “one of”, “never more than one” wire attached to this group of inputs.

Example on the component I was just working on (the input[1] and input[2] meets the “OneOf” criteria, that is “AndB” and “OrB”):

An example component
SwitchGeom_Forum.gh (8.5 KB)

// Rolf

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 39513

Trending Articles