Rebar |
| 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 |
// 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); } }