RVTDocs.com

FillPatternElement.GetFillPatternElementByName

Method
Description:
Retrieves the FillPatternElement by its name.
Syntax
Parameters
Parameter Type Description
document Document The document in which to retrieve the FillPatternElement.
target FillPatternTarget The FillPatternTarget of the FillPatternElement.
name String The name of the FillPatternElement.
Return Value
Type Description
FillPatternElement The FillPatternElement.
Exceptions
Exception Condition
ArgumentException target must be Model or Drafting.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration