Return the parameter's default value as stored in the definition.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public double GetParameterDefaultValue( ElementId paramId )
Parameters
- paramId ElementId
- Id of a parameter in the definition.
Return Value
DoubleThe parameter value.
Exceptions
Exception | Condition |
---|---|
ArgumentException | This RebarShapeDefinition does not have a value for the parameter paramId. |
ArgumentNullException | A non-optional argument was null |