where can i find the fillpatternid

where can i find the fillpatternid

Anonymous
Not applicable
583 Views
1 Reply
Message 1 of 2

where can i find the fillpatternid

Anonymous
Not applicable
 

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);

 

0 Likes
Accepted solutions (1)
584 Views
1 Reply
Reply (1)
Message 2 of 2

aignatovich
Advisor
Advisor
Accepted 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 ...