PanelScheduleView.SetSpareLoadValue Method

PanelScheduleViewSetSpareLoadValue Method

Sets the value of the apparent load parameter for a spare

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetSpareLoadValue(
	int row,
	int column,
	ElementId idLoadParameter,
	double value
)
Public Sub SetSpareLoadValue ( 
	row As Integer,
	column As Integer,
	idLoadParameter As ElementId,
	value As Double
)
public:
void SetSpareLoadValue(
	int row, 
	int column, 
	ElementId^ idLoadParameter, 
	double value
)
member SetSpareLoadValue : 
        row : int * 
        column : int * 
        idLoadParameter : ElementId * 
        value : float -> unit 

Parameters

row  Int32
A row where the valid spare is
column  Int32
A column where the valid spare is
idLoadParameter  ElementId
One of 4 valid load parameters: RBS_ELEC_APPARENT_LOAD, RBS_ELEC_APPARENT_LOAD_PHASEA, RBS_ELEC_APPARENT_LOAD_PHASEB, RBS_ELEC_APPARENT_LOAD_PHASEC
value  Double
The value of the spare's load for the given parameter
Exceptions
ExceptionCondition
ArgumentException The load parameter id is not valid.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException The given value for value must be non-negative.
ArgumentsInconsistentException The row column combination does not represent a valid spare.
See Also