Creating a color legend from View filters

Hi,

You should watch the post : Creating a color legend from View filters - #35 by Alban_de_Chasteigner
So far you only get one color :
image

You can create texts with the TextNote.ByLocation node.

Hi every body,
I come back with correction to this script.
Revit 2022 and Dynamo 2.12 - Windows 11
I have just a litle problem with TAG and offset.
No synchro
Daniel

1 Like

Hi! I saw these post ( i think i read it all) and it worked BUT i only got one color.
I saw that it was suggested that could do a change of region type and the node i already used the OOTB node.

Although that…It still appears one color.
Do you know what i can change?

Thank you!!


image

Hi,

Did you try to set the last node at longest lacing?

2 Likes

Hi! Ups, I forgot that (better, i didn’t even notice that in the code)
Problem solved!

Many, many Thanks!

1 Like

I tried with lines in order to do the same but instead of using filled regions i used detail lines and line styles.
The code is this one, but now it is missing what i considered the “final part”.
I managed to create the lines according to the number of filters and created the line styles with the filter properties. Now I don’t know how to join these two results so that the lines have the line style properties.

Hello daniel, could you please share your script i want to test it,

thanks :slight_smile:

Hy h.izary,
Here two png one with label (étiquette) and second for note



Daniel