ElectricalDemandFactorValue Class

This class represents values used by a particular demand factor definition. Each instance corresponds to a row in a table of values. These values are part of the ElectricalDemandFactorDefinition class.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.ElectricalElectricalDemandFactorValue

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ElectricalDemandFactorValue : IDisposable

The ElectricalDemandFactorValue type exposes the following members.

Constructors
 NameDescription
Public methodElectricalDemandFactorValue Default constructor. Initializes factor to 1.0 or 100%. Min and max range are set to 0.0
Public methodElectricalDemandFactorValue(Double, Double, Double) Constructor. Initializes factor, minimum range and maximum range to values passed in.
Top
Properties
 NameDescription
Public propertyFactor The demand factor for this demand factor value. For example, objects 1 to 3 can have 100% demand factor. In the example above, the demand factor will be 1.0.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMaxRange The maximum range for this demand factor value. For example, objects 1 to 3 can have 100% demand factor. In the example above, the maximum range will be 3.
Public propertyMinRange The minimum range for this demand factor value. For example, objects 1 to 3 can have 100% demand factor. In the example above, the minimum range will be 1.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the ElectricalDemandFactorValue
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 methodSetMaxRangeToUnlimited Sets the max range on the value to unlimited
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also