Color.ARGB node with Filter Override

Hi, I am trying to highlight walls red in Revit based on a range. The script is working up until the point of override filters. Any advice on why the color node isn’t working with the override filter (frozen nodes in image) @solamour

We can’t read your graph. Make sure you export the workspace when the node titles are visible and pin all node preview bubbles so we can see what your data is doing.

You might also want to make sure you’re clearing filters before you create the new one.

2 Likes

  1. Your ResetElementOverrides node is only returning one element. You need to use list levels (@L1) to ensure that every wall gets cleared for that view.

    • I’d also recommend you send the output list of cleared wall elements on to the ElementType node, otherwise the overrides may be getting cleared after the new overrides are applied.
  2. Don’t reduce your list of types to unique values only. You’re overriding each instance so you need each instance represented in your list.

  3. Providing your parameter name in a list causes list structure issues, hence why you only get one value back. Just provide it as a single value.

  4. You don’t have anything being filtered with the FilterByBoolMask node. You need to pass the list of instances (not types) to get filtered based on the condition.

You have 64 wall instances and should therefore have 64 items in each of the lists throughout your graph since you’re looking to manage each wall individually. Dynamo will handle the lists correctly as long as you provide the right list structures.

1 Like