PrimarySizeCriterion
This class contains a size criterion for a RoutingPreferenceRule.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.RoutingCriterionBase
Autodesk.Revit.DB.PrimarySizeCriterion
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class PrimarySizeCriterion : RoutingCriterionBaseThe PrimarySizeCriterion type exposes the following members.
Constructors
Name
Description
Public Method
PrimarySizeCriterion
Constructs a PrimarySizeCriterion with a minimum and maximum size.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RoutingCriterionBase)
Public Property
MaximumSize
The maximum size of this criterion.
Public Property
MinimumSize
The minimum size of this criterion.
Methods
Name
Description
Public Method
Static Member
All
Creates a criterion with a range of all sizes.
Public Method
Dispose
(Inherited from RoutingCriterionBase)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsEqual
Verify if two criteria are the same.
(Inherited from RoutingCriterionBase)
Public Method
Static Member
None
Creates a criterion with a range of no sizes.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)