Revit 2025 API
Pipe |
Set pipe slope values.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetPipeSlopes( IList<double> slopes )
Public Sub SetPipeSlopes ( slopes As IList(Of Double) )
public: void SetPipeSlopes( IList<double>^ slopes )
member SetPipeSlopes : slopes : IList<float> -> unit
Parameters

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | Each value of the slopes must be between 0 and 100. Slope value is stored in percentage. e.g. 100 means 100%, and it is 45 degree. |
InvalidOperationException | This operation failed. |
See Also