FilledRegionType.IsValidBackgroundPatternId
Method
Description:
Check if the id is valid for a background pattern
Check if the id is valid for a background pattern
Remarks:
The FillPatternElement must be a 'Drafting' pattern.
The FillPatternElement must be a 'Drafting' pattern.
Parameters
Parameter | Type | Description |
---|---|---|
patternId | ElementId | Element id of the FillPatternElement |
Return Value
Type | Description |
---|---|
Boolean | False if the FillPatternElement is a model pattern. True otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |