Exclude certain hair particles from face instancing I want to relocate faces of a mesh to the spline's points, which are extracted from hair particles. Face should be placed only at the end of spline, except some strands, where I want to have another face in the middle.

For this I made a loop to apply mask to extracted points:




Red outline - specific strands with 2 faces (defined by index)
Green outline - compare logic


Problem is that I need to specify more strands (from bigger project), and don't want to replicate outlined parts of nodetree for each strand. Like excluding of 300 strands means 300 inputs. There should be more optimized way to do it
You can use a boolean list as an iterator to switch between a list with only the end point and a list with a center point appended:



Of course you can also define the condition by the index of the spline. To do so, you can generate the boolean list as follows:



You start with a boolean list of Trues and turn the elements at the input indices to Falses. The parameter boolean list should be reassigned and used as an output.