|  Rebar  | 
 Adds an override for the given parameter as its value will be displayed for the Rebar Container element. 
 Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
 Syntax
 Syntax  Parameters
 Exceptions
 Exceptions  | Exception | Condition | 
|---|---|
| ArgumentException | paramId is not the id of a parameter in the current document, or its value type is not double. -or- paramId is not a Rebar Container parameter | 
| ArgumentNullException | A non-optional argument was null | 
 Example
 Example  // Override the value for A and set the parameter to modifiable for the given rebar container
void ManageParameters(RebarContainer container)
{
    RebarContainerParameterManager paramManager = container.GetParametersManager();
    Parameter aParam = container.LookupParameter("A");
    if (aParam != null)
    {
        paramManager.AddOverride(aParam.Id, 0.4);
        paramManager.SetOverriddenParameterModifiable(aParam.Id);
    }
} See Also
 See Also