Change Filled Region Pattern to None

I’m having trouble setting filled region patterns to none.

As far as I can tell, I need to create a “fake” FillPatternElement Id value of -1 similar to what was done here:

I tried changing the python like this:

import RevitServices
from RevitServices.Persistence import DocumentManager

doc = DocumentManager.Instance.CurrentDBDocument


OUT = doc.GetFillPatternElement(id)

Maybe I am over complicating things. Does anyone know how to set a pattern to none?

Dynamo graph: set fill pattern to none.dyn (26.9 KB)
Revit file: testing.rvt (456 KB)

Dynamo Core version:
Dynamo Revit version:
Revit version: 2019.2

Hi Bren, take a look at dimitar’s solution in the link you provided.
That’s what you need to do.

A bit over complicated :wink:

For anyone else with this issue, the missing ingredient was using the 'Element.SetParameterToNone" from the “spring node” package. I had to update the package in order to gain acces to that node.