2021 Class
Changes 0
C

SpacingRule

Description:
A rule for specifying a set of equidistant, parallel gridlines within a region.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.SpacingRule
public class SpacingRule : APIObject
Name Return Type Description Inherited From
M SetLayoutFixedDistance(Double, SpacingRuleJustification, Double, Double) None Set the Layout property to FixedDistance.
M SetLayoutFixedNumber(Int32, SpacingRuleJustification, Double, Double) None Set the Layout property to FixedNumber.
M SetLayoutMaximumSpacing(Double, SpacingRuleJustification, Double, Double) None Set the Layout property to MaximumSpacing.
M SetLayoutMinimumSpacing(Double, SpacingRuleJustification, Double, Double) None Set the Layout property to MinimumSpacing.
M SetLayoutNone() None Set the Layout property to None.
M Dispose() None Causes the object to release immediately any resources it may be utilizing. APIObject
Name Return Type Description Inherited From
P BeltMeasurement double On a curved surface, BeltMeasurement specifies where the grid's distances are measured.
P Distance double The exact distance between layout lines.
P GridlinesRotation double An additional rotation to be applied to this set of grid lines.
P HasBeltMeasurement bool True if the gridlines are not parallel due to surface curvature, and the BeltMeasurement property therefore applies.
P Justification SpacingRuleJustification The justification of the lines within the region.
P Layout SpacingRuleLayout A choice of several gridline layout rules.
P Number int The exact number of lines in the region.
P Offset double An additional offset applied to the first gridline.
P IsReadOnly bool Identifies if the object is read-only or modifiable. APIObject