2027 Method
Changes 4
M

FilledRegionType.IsValidForegroundPatternId

Description:
Check if the id is valid for a foreground pattern
Remarks:
In a family the FillPatternElement must be a 'Drafting' pattern.
public bool IsValidForegroundPatternId(
	ElementId patternId
)
  • patternId
    Element id of the FillPatternElement
Return Value Boolean False if in a family, and the id is a FillPatternElement that targets 'Drafting'. True otherwise.