LinePatternElement.GetLinePattern(Document, ElementId)
Method
Description:
Gets the LinePattern associated to an element or from a built-in line pattern.
Gets the LinePattern associated to an element or from a built-in line pattern.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document in which to retrieve the LinePattern. |
elementId | ElementId | The ElementId of the LinePatternElement or the built-in line pattern id. |
Return Value
Type | Description |
---|---|
LinePattern | A copy of LinePattern object. if the ElementId doesn't represent a line pattern element or built-in line pattern. for Solid. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |