LinePatternElement.GetLinePattern
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.
Overloads (2):
public static LinePattern GetLinePattern(
Document document,
ElementId elementId
)
-
documentThe document in which to retrieve the LinePattern.
-
elementIdThe ElementId of the LinePatternElement or the built-in line pattern id.
Return Value
LinePattern
A copy of LinePattern object. if the ElementId doesn't represent a line pattern element
or built-in line pattern. for Solid.
-
A non-optional argument was null