Sets the value of the apparent current parameter for a spare
Namespace:
Autodesk.Revit.DB.Electrical
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2013
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- row
-
Type:
System
Int32
A row where the valid spare is
- column
-
Type:
System
Int32
A column where the valid spare is
- idCurrentParameter
-
Type:
Autodesk.Revit.DB
ElementId
One of 4 valid current parameters: RBS_ELEC_APPARENT_CURRENT_PARAM, RBS_ELEC_APPARENT_CURRENT_PHASEA_PARAM, RBS_ELEC_APPARENT_CURRENT_PHASEB_PARAM, RBS_ELEC_APPARENT_CURRENT_PHASEC_PARAM
- value
-
Type:
System
Double
The value of the spare's current for the given parameter
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | The current parameter id is not valid. |
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |
Autodesk.Revit.Exceptions ArgumentOutOfRangeException | The given value for value must be non-negative. |
Autodesk.Revit.Exceptions ArgumentsInconsistentException | The row column combination does not represent a valid spare. |