Culling a list by the value of a string

Alan's Avatar

Alan

20 Dec, 2012 10:39 PM

I am trying to cull a list by the value of a string. The only way I see to feed cull is from compare which appears not to accept a string as input (I get java.lang.NumberFormatException). Any ideas?

Thanks.

  1. Support Staff 1 Posted by Frederik De Ble... on 21 Dec, 2012 01:01 PM

    Frederik De Bleser's Avatar

    The cull node accepts a list of values (which can be anything), and a list of booleans. All values that have a corresponding boolean true are retained, the rest are removed. This list can be created using e.g. a compare node.

    What is it you're trying to do? Maybe there's another solution that's more appropriate.

    F

  2. Frederik De Bleser closed this discussion on 21 Dec, 2012 01:01 PM.

  3. Frederik De Bleser re-opened this discussion on 21 Dec, 2012 01:02 PM

  4. Frederik De Bleser closed this discussion on 21 Dec, 2012 01:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

06 Feb, 2025 01:37 AM
04 Feb, 2025 06:32 AM
04 Feb, 2025 05:04 AM
30 Jan, 2025 09:31 AM
30 Jan, 2025 09:08 AM

 

30 Jan, 2025 08:40 AM
24 Jan, 2025 07:50 AM
22 Jan, 2025 11:42 PM
21 Jan, 2025 09:43 AM
21 Jan, 2025 09:41 AM
21 Jan, 2025 09:36 AM