Share

LayoutRule Class

The LayoutRule object is a base object for all type of layout rules for Beam System within the Autodesk Revit API.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.LayoutRule
      Autodesk.Revit.DB.LayoutRuleClearSpacing
      Autodesk.Revit.DB.LayoutRuleFixedDistance
      Autodesk.Revit.DB.LayoutRuleFixedNumber
      Autodesk.Revit.DB.LayoutRuleMaximumSpacing


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

Syntax

C#

public abstract class LayoutRule : APIObject

The LayoutRule type exposes the following members.

Properties

 NameDescription
Public propertyCode exampleIsReadOnlyIdentifies if the object is read-only or modifiable.
(Inherited from APIObject)

Methods

 NameDescription
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

This class just used as the base class of those concrete LayoutRule classes.

See Also

Reference

Was this information helpful?