SetStartEndPercentages Method


Sets start and end percentages.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017

Syntax

C#
public void SetStartEndPercentages(
	int startPercentage,
	int endPercentage
)
Visual Basic
Public Sub SetStartEndPercentages ( _
	startPercentage As Integer, _
	endPercentage As Integer _
)
Visual C++
public:
void SetStartEndPercentages(
	int startPercentage, 
	int endPercentage
)

Parameters

startPercentage
Type: SystemInt32
The start percentage defines where depth cueing starts.
endPercentage
Type: SystemInt32
The end percentage defines where depth cueing ends.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The start and end percentages values are not valid. The valid range is 0 to 100 and start is smaller than end.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →