RVTDocs.com
Namespace: Autodesk.Revit.DB

SpacingRule

Class
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
Syntax
public class SpacingRule : APIObject
SpacingRule Class Members:
Name Description Inherited From
BeltMeasurement On a curved surface, BeltMeasurement specifies where the grid's distances are measured.
Distance The exact distance between layout lines.
GridlinesRotation An additional rotation to be applied to this set of grid lines.
HasBeltMeasurement True if the gridlines are not parallel due to surface curvature, and the BeltMeasurement property therefore applies.
IsReadOnly Identifies if the object is read-only or modifiable. (Inherited from APIObject ) APIObject
Justification The justification of the lines within the region.
Layout A choice of several gridline layout rules.
Number The exact number of lines in the region.
Offset An additional offset applied to the first gridline.
Name Description Inherited From
Dispose Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) APIObject
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetType Gets the Type of the current instance. (Inherited from Object ) Object
SetLayoutFixedDistance Set the Layout property to FixedDistance.
SetLayoutFixedNumber Set the Layout property to FixedNumber.
SetLayoutMaximumSpacing Set the Layout property to MaximumSpacing.
SetLayoutMinimumSpacing Set the Layout property to MinimumSpacing.
SetLayoutNone Set the Layout property to None.
ToString Returns a string that represents the current object. (Inherited from Object ) Object