I am trying to set the cut pattern to solid but couldn't find the fillPatternId any where. Somebody knows?Thank you.
filterSettings. SetCutFillPatternId(fillPatternId);
I am trying to set the cut pattern to solid but couldn't find the fillPatternId any where. Somebody knows?Thank you. filterSettings. SetCutFillPatternId(fillPatternId);
|
Solved! Go to Solution.
Hi!
You need something like this:
var col = new FilteredElementCollector(doc); var elems = col.OfClass(typeof(FillPatternElement)); /// some logic to select appropriate fill pattern
filterSettings.SetCutFillPatternId ...