The maximum aspect ratio allowed in the grid placed across the face.
The minimum allowed value is 1.0. The maximum allowed value is 10.0. By default this property is ignored.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public double GridAspectRatio { get; set; }
Property Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: The value gridAspectRatio is outside the allowable range of values for GridAspectRatio tessellation parameter. |
InvalidOperationException | GridAspectRatio tessellation parameter is default (hasn't been explicitly set by the user) and cannot be obtained now. |