Creates a simple crosshatch fill pattern based on the given name, angle, spacing, FillPatternTarget and FillPatternHostOrientation.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public FillPattern(
string name,
FillPatternTarget target,
FillPatternHostOrientation orientation,
double angle,
double spacing1,
double spacing2
)
Parameters
- name String
-
The name.
- target FillPatternTarget
-
The fill pattern target.
- orientation FillPatternHostOrientation
-
The fill pattern orientation.
- angle Double
-
The angle.
- spacing1 Double
-
The spacing.
- spacing2 Double
-
The spacing.
Exceptions
See Also
Reference