ElectricalDemandFactorValue
Description:
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.
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:
System.Object
Autodesk.Revit.DB.Electrical.ElectricalDemandFactorValue
System.Object
Autodesk.Revit.DB.Electrical.ElectricalDemandFactorValue
public class ElectricalDemandFactorValue : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ElectricalDemandFactorValue() | None | Default constructor. Initializes factor to 1.0 or 100%. Min and max range are set to 0.0 | |
| ElectricalDemandFactorValue(Double, Double, Double) | None | Constructor. Initializes factor, minimum range and maximum range to values passed in. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the ElectricalDemandFactorValue | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| SetMaxRangeToUnlimited() | None | Sets the max range on the value to unlimited | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Factor | double | 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. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| MaxRange | double | 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. | |
| MinRange | double | 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. |