Sets the default Divided Surface distance for a fixed, minimum, or maximum distance layout for U or V gridlines.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void SetSurfaceDistance( UVGridlineType gridlines, double distance )
Parameters
- gridlines UVGridlineType
- U-gridlines or V-gridlines.
- distance Double
- A default distance for a layout.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The given value for distance must be positive. -or- A value passed for an enumeration argument is not a member of that enumeration |