Share

AcDbDatabase::setLongitude

C++

Acad::ErrorStatus setLongitude(
    double lng
);

Description

Sets the longitude of the site where the drawing model is located.

Returns Acad::eOk if a valid value is passed in; Acad::eOutOfRange otherwise.

The drawing latitude, longitude, and north direction are used by the Sun, along with the Sun's date and time, to calculate the correct angle for sunlight.

Parameters

Parameters Description
lng Input longitude for the location of the model, in decimal degrees. Allowable values are -180 to +180 degrees, where positive numbers represent East longitudes.

Links

AcDbDatabase Class

Was this information helpful?