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