Filter Array by another Boolean array:

1 vote
Version: 
1.0

If you have two arrays with the same amount of items and one of them contains boolean values, you can filter the second array using those boolean values by using this compound.

Regards

Alaa Al Nahlawi

3ds Max Version Requirement: 
2016
AttachmentSize
va_filter_array_by_another_boolean_array.zip709 bytes

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Alaa alnahlawi's picture

Thanx for the advice, I will

Thanx for the advice, I will change it...

hotknife's picture

Hey Alaa - cheers for this,

Hey Alaa - cheers for this, it's been bugging me how to do it.

Just one thing to watch is that this Compound throws an error if all Booleans are False. This I believe is an MCG thing with parallel mapping - change the Parallel Map to a Map and it doesn't wobble. Therefore you can also change the Combine to ParallelCombine which will help.

HK.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.