<Code Lib>
2026 Method
Changes 4
M

FilledRegionType.IsValidBackgroundPatternId

Description:
Check if the id is valid for a background pattern
Remarks:
The FillPatternElement must be a 'Drafting' pattern.

public bool IsValidBackgroundPatternId(
	ElementId patternId
)

  • patternId
    Element id of the FillPatternElement
Return Value Boolean False if the FillPatternElement is a model pattern. True otherwise.

Loading…