Revit 2025 API
Rebar |
Remove the parameter from the definition.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void RemoveParameter( ElementId paramId )
Public Sub RemoveParameter ( paramId As ElementId )
public: void RemoveParameter( ElementId^ paramId )
member RemoveParameter : paramId : ElementId -> unit
Parameters
- paramId ElementId
- Id of a parameter in the definition.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

If the definition does not have the parameter, the method does nothing.
See Also