Creates a new project position object.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
public ProjectPosition NewProjectPosition( double ew, double ns, double elevation, double angle ) |
Visual Basic |
---|
Public Function NewProjectPosition ( _ ew As Double, _ ns As Double, _ elevation As Double, _ angle As Double _ ) As ProjectPosition |
Visual C++ |
---|
public: ProjectPosition^ NewProjectPosition( double ew, double ns, double elevation, double angle ) |
Parameters
- ew
- Type: System..::..Double
East to West offset in feet.
- ns
- Type: System..::..Double
North to South offset in feet.
- elevation
- Type: System..::..Double
Elevation above sea level in feet.
- angle
- Type: System..::..Double
Rotation angle away from true north in the range of -PI to +PI.
Remarks
This object contains offset information and is used by the project location object
for setting the project location relative to the site location. Measurements are in feet and
radians.