Select from list

Hi all.
I’m wondering if there is any node which you can select elements from a list by picking one by one. Something like this:

I must recognize that i don’t know python enough to create that node, but i think it’s a very good idea for making selections in Dynamo much easier.
Programmers, this is a cal for you. Take it as a challenge. :grinning:

Try Springs.Filter.BySelection

Maybe look at FilterByBoolMask
http://dictionary.dynamobim.com/#/Core/List/Action/FilterByBoolMask

or in a code block

listIn = “A”…“D”;
mask = {true, true, false, true};
FBBM = List.FilterByBoolMask(listIn, mask);
TGVND = __TryGetValueFromNestedDictionaries;
filterIN = TGVND(FBBM, “in”);
filterOUT = __TryGetValueFromNestedDictionaries(FBBM, “out”);
both = {filterIN,filterOUT};

The datashapes package can be used this way.

2 Likes

Package Juggernaught has one

10 Likes

Wow, you are really fast boys :grinning::grinning:
Thanks @john_pierson, this is nearly what i wanted. It only needs the unselected list output, but now it’s perfect for my actual project.

Hi John,
I was wondering if there is a way to select multiple items using the “shift” key instead of picking one by one?

Hmm. I imagine there is. But with this specific package I am not sure it has been updated in some time. Have you checked out data shapes for this sort of interaction?

1 Like

False

Dear people,

I get this warning.

What do I have to Fix?