Genius Loci - Get ColorFill Scheme Properties

Hi, I’m experiencing weird behaviour from GeniusLoci @Alban_de_Chasteigner node mentioned in the title.

I had a dynamo script that grabs desired ColorFillScheme and applies a gradient of colors based on number of colors in the scheme. Parameters used are Shared

It worked fine until today I’ve added an If node to make it work in DynamoPlayer. I’m not quite sure if that was the reason but that was the point when it stopped working. What happened is that I put a number value of 0 into a colors value of one of the Room ColorFillSchedules. It erased all the colors in it. I reverted the Dynamo step in Revit and closed model without saving.

Restarting Revit and this script does not help. For some reason it outputs null for every Room ColorFillSchedule. There is no element binding hidden in the script aswell.

i unpacked python script and it returns an error

Hi @filip.kabelis i guess the node want ironpython 2.7…not sure if you are in 25 ironpthon3 could work here…or try modify the node so it works in 25…

Hi @filip.kabelis

In addition to @sovitek 's answer, you can upload a sample rvt file and the dyn it to reproduce the bug.

1 Like