FilledRegionType.IsValidForegroundPatternId
Description:
Check if the id is valid for a foreground pattern
Check if the id is valid for a foreground pattern
Remarks:
In a family the FillPatternElement must be a 'Drafting' pattern.
In a family the FillPatternElement must be a 'Drafting' pattern.
public bool IsValidForegroundPatternId(
ElementId patternId
)
-
patternIdElement id of the FillPatternElement
Return Value
bool
False if in a family, and the id is a FillPatternElement that targets 'Drafting'.
True otherwise.
-
A non-optional argument was null