GetOffset Method


Get the offset value associated with a View Depth plane

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

Syntax

C#
public double GetOffset(
	PlanViewPlane planViewPlane
)
Visual Basic
Public Function GetOffset ( _
	planViewPlane As PlanViewPlane _
) As Double
Visual C++
public:
double GetOffset(
	PlanViewPlane planViewPlane
)

Parameters

planViewPlane
Type: Autodesk.Revit.DBPlanViewPlane
View Depth plane

Return Value

Offset value

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

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 →