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: https://forum.dynamobim.com/t/set-wall-coarse-fill-pattern-to-none/21920/12

I tried changing the python like this:

clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager

doc = DocumentManager.Instance.CurrentDBDocument

id=ElementId(-1)

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: 2.0.3.8810
Dynamo Revit version: 2.0.3.8811
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.