ProjectPosition Constructor


Construct a new ProjectPosition with the specified East/West offset, North/South offset, elevation offset, and angle of rotation.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)

Syntax

C#
public ProjectPosition(
	double ew,
	double ns,
	double elevation,
	double angle
)
Visual Basic
Public Sub New ( _
	ew As Double, _
	ns As Double, _
	elevation As Double, _
	angle As Double _
)
Visual C++
public:
ProjectPosition(
	double ew, 
	double ns, 
	double elevation, 
	double angle
)

Parameters

ew
Type: System Double
East/West offset
ns
Type: System Double
North/South offset
elevation
Type: System Double
Elevation offset
angle
Type: System Double
Rotation from true north, in radians

Remarks

The angle parameter must be in the range of -PI to PI. If the parameter value is outside that range, it will be shifted by 2*PI until it falls into range.

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 →