Revit 2015 API |
SiteLocation..::..Longitude Property |
SiteLocation Class See Also |
The longitude of the site location.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Syntax
Remarks
A property that contains the longitude of the site location. The value of this property is in radians between +PI and -PI.
When setting this property:
- Revit will attempt to match the coordinates to a city it knows about, and if a match is found, will set the name accordingly.
- Revit will attempt to automatically adjust the time zone value to match the new Longitude value set using CalculateTimeZone(Double, Double). For some boundary cases, the time zone calculated may not be correct. You can set the TimeZone property directly to the correct value if necessary.
- Revit will attempt to automatically update the weather station associated with the coordinates.