GetSiteLocation Method


Gets the site location to which this project location refers.

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

Syntax

C#
public SiteLocation GetSiteLocation()
Visual Basic
Public Function GetSiteLocation As SiteLocation
Visual C++
public:
SiteLocation^ GetSiteLocation()

Remarks

The site location object contains the longitude, latitude, and time-zone of the entire project site.

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 →