ApplicationNewProjectPosition Method |
Creates a new project position object.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic ProjectPosition NewProjectPosition(
double ew,
double ns,
double elevation,
double angle
)
Public Function NewProjectPosition (
ew As Double,
ns As Double,
elevation As Double,
angle As Double
) As ProjectPosition
public:
ProjectPosition^ NewProjectPosition(
double ew,
double ns,
double elevation,
double angle
)
member NewProjectPosition :
ew : float *
ns : float *
elevation : float *
angle : float -> ProjectPosition
Parameters
- ew Double
- East to West offset in feet.
- ns Double
- North to South offset in feet.
- elevation Double
- Elevation above sea level in feet.
- angle Double
- Rotation angle away from true north in the range of -PI to +PI.
Return Value
ProjectPosition
RemarksThis 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.
See Also