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: 24.0.0.0 (24.0.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: SystemDouble
East/West offset
ns
Type: SystemDouble
North/South offset
elevation
Type: SystemDouble
Elevation offset
angle
Type: SystemDouble
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 →