Hello Dynamo Friends
At automatic dimensioning i sometimes get in trouble because some Elements don´t give references and that will mess up the whole graph. So i want to filter out all Elements that don´t give references by creating a bool list that i also need for filtering views, columns and so on later.
I use the node from @Alban_de_Chasteigner, my bad he built in that great function to filter out all elements that give none results. Cant create a boll list like that. I tried to edit the code to remove this filter function but i failed many times and so i ask for help.
I tried that:
if isinstance(IN, list): OUT = allHorizEdges, allHorizReferences, allVertEdges), allVertReferences else: OUT = allHorizEdges, allHorizReferences, allVertEdges, allVertReferences
And that gives now empty lists for elements that gave references before…so i just made it worse
Happy about any advice!