RVTDocs.com

PipeSettings.SetPipeSlopes

Method
Description:
Set pipe slope values.
Syntax
public void SetPipeSlopes(
	IList<double> slopes
)
Parameters
Parameter Type Description
slopes IList Pipe slope values. Revit stores the slope value as a percentage (0-100).
Return Value
Exceptions
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.